Bug 492893

Summary: Pressing Ctrl continues auto-scrolling
Product: [Applications] okular Reporter: Жора Змейкин <katze_942>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: goodaqua
Priority: NOR    
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Жора Змейкин 2024-09-09 16:07:13 UTC
SUMMARY
Using "Shift + Up/Down" you can enable auto-scrolling of the document. Pressing Shift or Ctrl pauses this scrolling. However, pressing Ctrl again resumes it and I consider this behavior to be a bug, since it is incredibly inconvenient when, for example, you switch between desktops (Ctrl + Meta + Left/Right/Up/Down) and your document starts scrolling by itself.

I offer two solutions to the problem:
1. Remove the ability to disable auto-scrolling from Ctrl.
2. Leave Ctrl with the option to turn off auto-scrolling, but do not let it turn on auto-scrolling.

STEPS TO REPRODUCE
1. Open Okular
2. Turn on auto-scrolling (Shift + Up/Down)
3. Pause auto-scrolling by pressing Shift or Ctrl
4. Perform any keyboard shortcut where there is Ctrl
5. That's it, you have auto-scrolling enabled.

SOFTWARE/OS VERSIONS
Operating System: Sisyphus 20240122
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.6.50-un-def-alt1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 15.5 ГиБ of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Manufacturer: Acer
Product Name: Aspire E5-573G
System Version: V3.72

ADDITIONAL INFORMATION
I tested the problem in the native and Flatpak versions.
Comment 1 reports_go_brrr 2024-09-10 18:50:03 UTC
Able to reproduce it by using Ctrl+O or Ctrl+P in Step 4.

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-arch1-1 (64-bit)
Graphics Platform: Wayland