Version: 0.10.2 (using KDE 4.4.2) OS: Linux Installed from: openSUSE RPMs When I scroll document with mouse and move cursor over the edge of screen, okular sometimes jump over page. If I move mouse very slow, all is right.
I have this bug too, but it also appears when I move mouse slow. It makes scrolling this way inconvenient. I using KDE 4.4.5. Here is video: http://dl.dropbox.com/u/7603377/test-0000.mpeg
It always works fine to me. Do you have a way to reproduce the problem? Also which options in the view menu do you have set? What about the zoom level?
Thank you for answer. For me bug is very reproducable. Is occurs on almost any view settings, on any pdf file and on any zoom level. Bug NOT occurs in full screen mode. Bug also not occurs when taskbar panel is in the bottom of a screen. As you can see, my panel is in the left. You should try to place bottom panel in any non-bottom side of a screen(when panel in top bug is occur).
right, with the panel in the left is easier to reproduce
Created attachment 49085 [details] Correction suggestion I removed this bug by limiting the amplitude of one move to half of the screen size. Works well on my computer. File modified: ui/pageview.cpp
My commentary was incorrect. I considered single movements bigger than half of the screen size as incorrect so i recalculate the move to make when it occurs.
Hi Mathieu, i sincerely doubt that fixes anything, have you checked that the code ever enters the ifs you have added (e.g. by adding some kDebugs)?
Yes, if you print the delta variable (i did it with qDebug()) without the patch, you will see that when the display bug occurs the delta values are too big to be correct (almost the screen size). I reproduced the bug with the panel on the left, it was easier that way. If mouseGrabPos.X is close to 0 and mousePos is now the bottom of the screen (going through the up), on the next refresh you have delta with a wrong value (closed to screen size). This is what i have changed with delta.setY(mouseContainer.height() - absDelta.y()); It fixes the bug for me, i can look for another way to fix it if you think this is not correct. Mathieu
SVN commit 1156334 by aacid: Fix mouse scrolling when wrapping sometimes sending you where you did not want Patch by Mathieu Lornac BUGS: 234713 M +11 -1 pageview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1156334