Bug 467540 - View -> Continuous (Off) does not prevent Mouse Scroll or Up/Down to go to next page
Summary: View -> Continuous (Off) does not prevent Mouse Scroll or Up/Down to go to ne...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-18 18:35 UTC by xpressrazor
Modified: 2023-03-19 00:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xpressrazor 2023-03-18 18:35:24 UTC
SUMMARY
***
View -> Continuous (Off) does not prevent Mouse Scroll or Up/Down to go to next page.

Only should go to next page when pressing Space bar or Go -> Next Page

This behavior works as expected in Evince.

NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open a pdf document in Oular
2. Select View -> View Mode -> Single Page
3. Select View -> View Mode -> Continuous (Off)

OBSERVED RESULT

Mouse Scroll (or Keyboard Up/Down button) to bottom of the page goes to next page. Same behavior on top of the document on that page (goes to previous page)

EXPECTED RESULT

It should not go to next/previous page on Mouse Scroll or Up/Down key. Only should go to next page when selecting Go-> Next Page or when pressing Space. 

There can also be a popup menu option to go to next page (right click).

This would prevent okular from jumping to random pages, when not desired.

View -> View Mode -> Continuous (On) can still work just like how it is working now.

This behavior works correctly in Evince.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION

Apparently, it seems to show same behavior on 22.12.3
Comment 1 xpressrazor 2023-03-19 00:11:41 UTC
To give more context. Think, when reading a multi-column magazine, you don't want to go past the current page with the same key you use to scroll within the page. 

Only one thing seems to work (somewhat). When you select single page, you can drag within the page with mouse or drag the scrollbar on the right with mouse. And use the mouse scrollbar to go to next page.

However, I think there should be similar feature with just keyboard. Where you can use some key to move around a single page, and some other key to go to next page.