Bug 491463

Summary: Shift+Scroll hotkey not working
Product: [Applications] gwenview Reporter: kde.aerospace405
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ilikefoss, pehg_
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde.aerospace405 2024-08-08 23:39:08 UTC
SUMMARY
When zoomed in (CTRL+=), Shift+Scroll doesn't move the picture left and right. In other programs, such as Firefox, you use this hotkey.


STEPS TO REPRODUCE
1. CTRL+= a few times
2. Shift+Scroll Wheel up and down
3. The picture doesn't move left and right, instead, it uses the default behavior.

OBSERVED RESULT
The picture doesn't move left and right when using shift+scrollwheel, instead, it uses the default behavior.

EXPECTED RESULT
The picture moves right and left when using shift+scrollwheel.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 40 KDE Spin
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Comment 1 Pedro 2025-02-09 03:56:27 UTC
I can confirm this happens in Gwenview 24.12.1. However, it's not clear to me if this is a bug or a feature request. The dev team would need to determine this.

Just as a note, I tested on Firefox 135.0 and Chrome 133.0.6943.53 and they have different behavior.
 - Firefox with a zoomed in image, using a mouse and Shift+Scroll up/down pans the image left/right, but it doesn't when using the touchpad on a laptop. 
 - On Chrome does pan left/right when doing Shift+Scroll up/down either using a mouse or the touchpad.
 - On the other hand, on Gwenview, neither mouse nor touchpad provide panning left/right with Shift+Scroll.

Software Information:
  Gwenview 24.12.1
  Operating System: TUXEDO OS 
  KDE Plasma Version: 6.2.5
  KDE Frameworks Version: 6.10.0
  Qt Version: 6.8.1
  Kernel Version: 6.11.0-108014-tuxedo (64-bit)
  Graphics Platform: Wayland
Comment 2 John 2025-02-25 22:21:07 UTC
I can confirm it on Debian 13 with the unstable repository and:

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.16-amd64 (64-bit)
Mesa  Version: 25.0.0-1
Graphics Platform: Wayland


HARDWARE SPECIFICATIONS
Hardware: Laptop Dell Inspiron 5770 (17" 1080p@60Hz screen)
CPU: Intel® Core™ i5-8250U CPU @ 1.60GHz
GPU 1: Mesa Intel® UHD Graphics 620 (main, Vulkan capable)
GPU 2: AMD Radeon R5 M465 Series
RAM: 8 GiB (7.7 GiB usable)


With SHIFT or not it just scrolls up or down.
SHIFT being pressed seems to be ignored completely.
Comment 3 Bug Janitor Service 2025-03-13 07:13:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/327
Comment 4 Pedro 2025-05-14 16:11:19 UTC
Thanks for the report. We'd like to mention that KDE apps use Alt+Scroll to perform horizontal scrolling, and Gwenview is no exception. To change this, it might be necessary to patch Qt to apply it to the KDE theme and maintain consistency across apps.