Bug 429788 - Page bar/widget (MiniBar) scrolling with mousewheel inverse of scrolling in the viewport
Summary: Page bar/widget (MiniBar) scrolling with mousewheel inverse of scrolling in t...
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.11.3
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-29 02:02 UTC by Steeven Hudon
Modified: 2020-12-03 00:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steeven Hudon 2020-11-29 02:02:56 UTC
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
Comment 1 Nate Graham 2020-12-01 18:35:35 UTC
Cannot reproduce with either a mouse or a laptop touchpad.
Comment 2 Steeven Hudon 2020-12-02 04:22:26 UTC
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.
Comment 3 Laura David Hurka 2020-12-02 12:13:41 UTC
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.
Comment 4 Steeven Hudon 2020-12-03 00:25:12 UTC
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 !