cef icon indicating copy to clipboard operation
cef copied to clipboard

mac: osr: pdf: mouse wheel stops working after a chain of actions with scrollbars

Open ujpv opened this issue 2 years ago • 4 comments

Describe the bug Mouse wheel stops working after a chain of actions with scrollbars

To Reproduce Note: It's not the only way to reproduce. It's the only way I managed to document. Steps to reproduce the behavior:

  1. Run cefclient --off-screen-rendering-enabled. Don't scroll.
  2. Open a pdf file in the browser. (e.g. https://www.africau.edu/images/default/sample.pdf). Don't scroll.
  3. Put the mouse pointer over the vertical scrollbar. Perform scrolling with the mouse wheel. It works.
  4. Perform scrolling by moving the vertical scrollbar thumb. It works.
  5. Observe not working the mouse wheel scrolling. Scrolling by scrollbars keeps working.

Expected behavior Both the mouse wheel scrolling and scrollbars work.

Screenshots

https://github.com/chromiumembedded/cef/assets/5990804/b5cab015-b863-42f5-986e-ec965ee29ab6

Versions (please complete the following information):

  • OS: MacOS 13.4.1
  • CEF Version: 111.2.7, 113.3.5, 116.0.24. Didn't try other.

Additional context Does the problem reproduce with the cefclient or cefsimple sample application at the same version? yes Does the problem reproduce with Google Chrome at the same version? no Add any other context about the problem here. For me it's 100% reproducible if I do the exactly the same actions from To Reproduce. Probably it might be somehow related to: #3153 #2949

ujpv avatar Sep 20 '23 22:09 ujpv

Have you tested on any other OS?

Another potentially related OSR PDF Scroll issue is https://github.com/chromiumembedded/cef/issues/3271

amaitland avatar Sep 22 '23 20:09 amaitland

I've just tried on Windows. It's not reproduceable. Will try linux later

ujpv avatar Sep 27 '23 00:09 ujpv

Can't reproduce on linux as well. It's something macos specific.

ujpv avatar Sep 30 '23 20:09 ujpv

I have the same problem on Windows 10 19045.3570, CEF 118.6.80

SoulsideJourney avatar Nov 02 '23 11:11 SoulsideJourney