SUMMARY In Okular, when scrolling with mousewheel in the page bar, the scolling direction is in the reverse direction of the standard page scrolling. STEPS TO REPRODUCE 1. Scrolling down with the mousewheel in the document goes from a lower page to an upper page (ex. page 4 to page 5). 2. Scrolling in the same manner with the mousewheel in the page bar goes from an upper page to a lower page (ex. page 4 to page 3). OBSERVED RESULT Scrolling in the page bar is the inverse from the general document scrolling. EXPECTED RESULT Both scrolling with the mousewheel in the document AND the page bar, should go in the same direction altogether. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Manjaro Linux (available in About System) KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Cannot reproduce with either a mouse or a laptop touchpad.
When scrolling DOWN in the document with the mousewheel, the pages goes up - increase (standard scrolling). But when scrolling DOWN over the page number in the «page bar» (located at the bottom of Okular), the page number decreases, inherently going back in the document.
This is about the page number widget, which was originally the “Page Bar” right below the viewport, and is now the page number widget right above the viewport in the main toolbar. These are implemented by MiniBar, which is coded to behave like this. I agree that it feels weird when compared side-by-side with the viewport, but it is how spinboxes behave. Just that the MiniBar does not display itself with spinbox-like arrows in the line edit, so I can’t say what is right or wrong here.
As it is a standardized component (MiniBar), it is obvious that no effort should be put to modify the actual behavior. I mark this 'wishlist' as RESOLVED. Thanks for the answers. Also, as a matter of fact, I just noticed that the left and right arrows on the keyboard let me scroll the PDF documents from a full page to another (instead of a continuous scroll), which replicates the behavior I get when I scroll in the spinbox. So I can say that I'm happy with that. Thanks again. Keep up the good work !