Quote:
Originally Posted by thiago.eec
The thing is: this is the same mouse I've been using for months, including calibre. It always worked fine before. Also, I tested another mouse (both Logitech mice) and it failed too.
This happened after 4.20 (I know that it had some fix for scrolling with touchpads, maybe that's what broke things).
P. S.: Can you point me a simple way to test the the event signal my mouse is sending with the scroll wheel?
|
Yes, in 4.20 wheel event handling was changed to accomodate touchpads. They send pixel scroll events for even the slightest movement, which makes them unusable for turning pages, since they turn too fast. Look in paged_mode.pyj in the onwheel() function there it tests if the mode is pixel scroll and requires enough pixels to accumulate before actually scrolling. You can add print(evt.deltaMode) and run the viewer as calibre-debug -w file.epub from a console to see the print output.