Bug 477277

Summary: Allow horizontal scrolling in preview mode with shift-scroll
Product: [Applications] digikam Reporter: Nick Kocharhook <nick>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.1.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nick Kocharhook 2023-11-20 11:37:18 UTC
SUMMARY
In the Preview pane, the user can scroll up and down using the scroll wheel. The view also responds correctly to a touchpad in all four directions. However, Shift-Scroll does nothing. In other applications, Shift-Scroll moves the horizontal scroll bar left and right, and it would be really helpful to have this in digiKam as well.


STEPS TO REPRODUCE
1. Open an image in an album's Preview pane
2. Make sure the photo is zoomed so that there's a horizontal scroll bar.
3. Press Shift and use the scroll wheel on your mouse.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Image should pan left and right.

SOFTWARE/OS VERSIONS
macOS: 12.6.7 (21G651)
(available in About System)
KDE Plasma Version: ?
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-11-20 17:40:29 UTC
This function already exists, but with the Alt key instead of the Shift key.
A test with Gwenview shows that Shift is used for up down and Alt is also used for left right.

Maik
Comment 2 Nick Kocharhook 2023-11-22 21:53:55 UTC
(In reply to Maik Qualmann from comment #1)
> This function already exists, but with the Alt key instead of the Shift key.
> A test with Gwenview shows that Shift is used for up down and Alt is also
> used for left right.

Thanks for the quick reply. In my testing on macOS, Shift-scroll-wheel does nothing. Option/Alt-scroll-wheel scrolls vertically, as does Ctrl-scroll-wheel. Command-scroll-wheel zooms. Not sure if I'm doing something wrong?

I am not familiar with the KDE ecosystem, so I can't say what the expected modifier for horizontal scrolling is there. But on macOS, all scroll views respond to Shift-scroll-wheel by scrolling horizontally. All the other modifiers just lead to vertical scrolling.
Comment 3 caulier.gilles 2024-09-17 12:27:01 UTC
Maik, 

under macOS, SHIFT + mouse wheel do :

wheel to up : first item from the list.
wheel to down: last item from the list.

Gilles