Bug 477277 - Allow horizontal scrolling in preview mode with shift-scroll
Summary: Allow horizontal scrolling in preview mode with shift-scroll
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 8.1.0
Platform: macOS (DMG) macOS
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-20 11:37 UTC by Nick Kocharhook
Modified: 2023-11-22 21:53 UTC (History)
1 user (show)

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 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.