GNOME Bugzilla – Bug 725389
Autoscrolling : Jumps to last page when cursor is brought over tool bar
Last modified: 2014-05-21 08:15:16 UTC
Steps to reproduce : 1. Open a document with multiple pages. 2. Go to any page after the first. 3. Start Autoscroll upwards. 4. Move the (autoscroll) cursor over the tool bar near the search button. Actual results : Evince jumps to the last page in the document. Expected results : It should continue to autoscroll upwards. Does this happen every time? No, but it happens fairly often, all over the tool bar. This happens to me a lot since I tend to move the mouse a little too far upwards while autoscrolling.
Which Evince version is this about?
This happens in the current master (v3.11.90) as well as the one I have installed on my computer (v3.10.0). Sorry I forgot to mention the version earlier.
Created attachment 276866 [details] [review] Prevent jumps to last page when autoscrolling This patch fixes the problem for me. The problem is in filling of unsigned integer "scroll_info.last_y" with negative value. Marek
Created attachment 276867 [details] [review] Remove redundant code I've hit this during fixing this bug so I'm attaching it here instead of filling a new bug.
Review of attachment 276866 [details] [review]: Ok, push it to both branches, please.
Review of attachment 276867 [details] [review]: hmm, I don't understand that if either, let's remove it, yes :-) Thanks
Comment on attachment 276866 [details] [review] Prevent jumps to last page when autoscrolling Thank you for the review, I've pushed it to master and gnome-3-12.