-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPF - Mouse wheel in PDF viewer doesn't work after scrolling with touch screen #4106
Comments
What version of CefSharp did you test with?
Did you test with the command line args for WPF as listed in the bug report template? This sounds like an upstream bug. |
Please confirm you've tested using the following
|
I've tested the cefclient without any parameter and by calling cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu Everything was tested with Cef/CefSharp version 101.0.180 |
Based on additional feedback the CEF OSR implementation which WPF uses needs fixes to support the new PDF viewer implementation. Looks like you already raised chromiumembedded/cef#3331 report your findings there. As an alternative you should be able to use https://github.com/cefsharp/CefSharp.Wpf.HwndHost which is the equivalent of hosting the WinForms version in WPF. It uses windowed rendering as opposed to OSR. Making as upstream as issue needs to be fixed in CEF. |
There are multiple potentially related issues with the OSR implementation currently |
Any errors in the log? Any further issues I'd ask that you please use the Bug Report Template. |
I can make sure there is a bug for CefSharp.Wpf. the way I am using to reproduce with the CefSharp source code:
I am sure, the problem must be in the handler of SendMouseWheelEvent(see the last line of the following code of WebBrowserExtensions.cs), I cannot go inside the method.
}` If you want any other materials or the screen capture video, please reach me out via skype: xjtu_ok Really hope the bug can be fixed ASAP. Thanks! |
@zhaozehong See #4106 (comment) This needs to be fixed in CEF. It's not something that can be fixed in CefSharp directly. |
Right. Thanks for your reply. |
You'll need to ask the CEF maintainers. |
After using touch display in PDF viewer to scroll (document and thumbnail area) scrolling using mouse wheel doesn’t work anymore.
OS: Windows 10 (19044.1645)
Using Google Chrome 101.0.4951.54 and CEF sample app version 101.0.18.0 feature works as expected.
Tested with CEFSharp WPF sample app
The text was updated successfully, but these errors were encountered: