Bug 492296 - Basic Touchscreen Support for Viewing Images in Gwenview (feature request)
Summary: Basic Touchscreen Support for Viewing Images in Gwenview (feature request)
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.05.2
Platform: NixOS Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-28 04:29 UTC by m1vri31c
Modified: 2025-01-04 15:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m1vri31c 2024-08-28 04:29:53 UTC
SUMMARY
It would be very useful to have basic touch screen support for viewing images in Gwenview. I often find myself using my two in one as a tablet to show people images, but many features require a keyboard and/or mouse.

The main features I see as missing are:
• Swipe between photos
• Pinch to zoom
• Access thumbnails in full screen mode – normally you can put your mouse at the top of the screen to bring down the thumbnail view, but on a touch screen there is no way to do that (even though that panel responds fine to touch if it is already showing), nor is there a way to keep it on screen permanently (aside from leaving the mouse at the top of the screen while you use the touch screen, but that obscures part of the image).
• Potentially, a way to leave full screen using the touch screen only – this is not necessarily a responsibility of Gwenview, but would improve functionality nonetheless. 

STEPS TO REPRODUCE
1. View photos with Gwenview
2. Enter Full Screen
3. Attempt to move between photos or zoom using only touch screen

OBSERVED RESULT
There is no way to do so

EXPECTED RESULT
There are touchscreen based inputs to do so

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.9 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Microsoft Surface Pro 7
Comment 1 Duncan 2024-10-06 14:47:23 UTC
I'd wish for similar touchpad (not just touchscreen) functionality as well.

In particular, back on xorg I was using the xf86-input-mtrack driver configured to generate "high" mousebutton events for pinch, twist/rotate, three-and-four-finger-swipe, etc, with (IIRC) sxhkd configured to detect those, and in turn emulate app-specific keyboard events.  For gwenview I had pinch set to zoom and twist to rotate.  Two-finger-swipes are of course existing scroll functionality, which gwenview can be configured to zoom or browse (next/previous) with, and I had three-finger swipes configured via the driver and sxhkd to do the other.  While it was a hack that chained several separate apps to get it all to work, work it did, and I could control gwenview with just the touchpad.  Unfortunately wayland uses the plain libinput driver without all those fancy configurable features the xf86-input-mtrack/xshkd combination had and I miss them!
Comment 2 Fieldservice4 2025-01-04 15:27:23 UTC
This issue impacts KDE Neon as well.

The touchscreen functionality for Gwenview is terrible. When doing pinch zoom, it jumps erratically. Using one finger to pan, similar issue.

Other than this, KDE is really an excellent workflow for touchscreen computers these days.