Page 1 of 1

weird missing event on drop down

PostPosted: Wed Jan 19, 2022 12:27 pm
by edgardog
Hi, I'm having an issue with several sites that display a drop down menu, and for some reason I can't click on the items.
The simplest setup to reproduce it is getting the cefsimple from Cef Automated Builds (cef_binary_97.1.5+g2b00258+chromium-97.0.4692.71_linux64_client.tar.bz2), go to tubitv.com, there is a browse option that displays a drop down menu, I can't get it to click on any of the options. The drop down goes away, but the item is not selected.
If it make a right click that displays the Context Menu and then click an option on the drop down menu it seems to work fine..
Any idea how can I get it to work?

Best Regards

Re: weird missing event on drop down

PostPosted: Wed Jan 19, 2022 2:25 pm
by amaitland
Check the log file or DevTools for errors.

Re: weird missing event on drop down

PostPosted: Wed Jan 19, 2022 6:41 pm
by edgardog
The log does not report any error, even running with --debug=0xFFFFFFFF , and when I enable the remote debug port 9222 and I use another browser for DevTools, The cursor changes to a round half transparent cursor and the problem does not happen.
I will try to make a build with debug symbols and see if I can trace it.
It is weird.

Thanks for the pointers.

Re: weird missing event on drop down

PostPosted: Wed Jan 19, 2022 7:21 pm
by amaitland
Have you tested on a different computer?

Re: weird missing event on drop down

PostPosted: Thu Jan 20, 2022 6:35 am
by edgardog
yes, I did. I fails on several.
I tried with my previous build based on branch 92.0.4515.131 and works perfect, but when I try 97.0.4692.56 it fails. So I will try to bisect with more builds to find the place where it broke.

Re: weird missing event on drop down

PostPosted: Thu Jan 20, 2022 12:52 pm
by edgardog
I troubleshooted further, the issue also happens on Chrome 97, so I'll continue my bug pursuit using chrome.
The bisect tells me it works up to branch 4577 (93), but in branch 46xx fails (94,95,96,97,98).
Since there is people with more experience here reporting bugs in chrome, any clue where I should start?

Thanks for the help!

Re: weird missing event on drop down

PostPosted: Thu Jan 20, 2022 1:38 pm
by edgardog
The weird thing is.. if I run Chrome 97, but I kill the window manager (so chrome has no window border, you can't resize or move it) it works fine.
I ran the devtools and it register a click, but on the wrong DIV. On the version that works the click registers on the proper <a href> element, but on chrome 97 (with the window manager running) it registers on a different spot.

Re: weird missing event on drop down

PostPosted: Thu Jan 20, 2022 6:00 pm
by edgardog
In case someone else runs into this issue, the problem is Fluxbox and Chrome 94+.
Trying a different window manager avoids the problem.
I also found: https://bugs.chromium.org/p/chromium/is ... ?id=713746
and the proposed: "--disable-features=SendMouseLeaveEvents" works perfectly with cefclient and dropdowns written in javascript.