Skip to content
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

PDF scrolling with mouse wheel not working #1916

Closed
shenhavba opened this issue Jan 17, 2017 · 9 comments
Closed

PDF scrolling with mouse wheel not working #1916

shenhavba opened this issue Jan 17, 2017 · 9 comments
Labels
known-issue upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium. wpf
Milestone

Comments

@shenhavba
Copy link

shenhavba commented Jan 17, 2017

Bug Report

What version of the product are you using?

CefSharp.Common, CefSharp.Wpf all version 55

What version are you using? Nuget? CI Nuget? build from a branch? If so which branch? e.g. 53.0.1
What architecture x86 or x64?

build from branch 55.0.0-pre01 - x86

On what operating system?

windows 10

Are you using WinForms, WPF or OffScreen?

wpf

What steps will reproduce the problem?

 1. open pdf with a lot of pages.
 2.try to scroll with the mouse, nothing happens for few seconds and then, the pages jump to the last page           

Please provide detailed information here, enough for someone else to reprodce your problem.
Please no binary (zip, etc) links, fork the MinimalExample and push your changes to GitHub. (Alternatively use a code sharing service list Gist or Pastebin).
What is the expected output? What do you see instead?

The expected behavior is good scrolling, page by page but the scrolling causing the pages to jump to the last one.
Its working fine in version 47.

Does this problem also occur in the CEF Sample Application from http://opensource.spotify.com/cefbuilds/index.html?

No.

@merceyz
Copy link
Member

merceyz commented Jan 17, 2017

@amaitland amaitland added the wpf label Jan 17, 2017
@amaitland
Copy link
Member

It's interesting to note that scrolling with the scrollbar is working fine.

Does this problem also occur in the CEF Sample Application from http://opensource.spotify.com/cefbuilds/index.html?

No.

Please verify the command line args you used when tested with cefclient, it's very important they're the ones listed for WPF. If this reproduces with the command line args specified for comparing to WPF, then someone will need to dig into this further, I guess starting with comparing the mouse wheel code.

If you have time, please investigate this further. The cefclient code is available at https://bitbucket.org/chromiumembedded/cef/src/9d48a4f80e2ba30bb3ddaf97f9e7c34e670c22a7/tests/cefclient/?at=master

@amaitland amaitland added the upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium. label Jan 17, 2017
@amaitland
Copy link
Member

@shenhavba Did you actually test with cefclient --multi-threaded-message-loop --off-screen-rendering-enabled???? I'm seeing the same problem reproduce....

@amaitland amaitland changed the title PDF scrolling is not working well PDF scrolling with mouse wheel not working Jan 17, 2017
@shenhavba
Copy link
Author

I did not know that i should run it with command line parameters unril you said so.

Can i remove those parameters?

Thank you for checking this issue!

@amaitland
Copy link
Member

Does this problem also occur in the CEF Sample Application from http://opensource.spotify.com/cefbuilds/index.html?

To compare with WPF run cefclient --multi-threaded-message-loop --off-screen-rendering-enabled
To compare with WinForms run cefclient --multi-threaded-message-loop
If you can reproduce the problem with cefclient then you'll need to report the bug on https://bitbucket.org/chromiumembedded/cef/overview there is no point opening an issue here. (Make sure you search before opening an issue)

@shenhavba The parameters to use were clearly outlined in the issue template.

Can i remove those parameters?

No. You can use the WinForms version until this has been resolved.

@AndrewBragdon
Copy link

This repros for me as well. Would be great if we could fix this, since it appears to affect all PDF files in the WPF version of cefsharp.

@perlun
Copy link
Member

perlun commented Dec 2, 2017

Seemingly fixed in CEF62 - those of you seeing this, please try the latest Nuget prerelease packages to see if you can also verify this is indeed fixed in our latest bits.

@amaitland amaitland added this to the 62.0.0 milestone Dec 19, 2017
@amaitland
Copy link
Member

Resolved in 62.0.0-pre01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
known-issue upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium. wpf
Projects
None yet
Development

No branches or pull requests

5 participants