Bug 443478 - Wayland: drag image from the main view do not work
Summary: Wayland: drag image from the main view do not work
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.08.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: usability, wayland-only
: 500267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-08 12:53 UTC by Alexey Ilyin
Modified: 2025-06-28 11:19 UTC (History)
5 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 Alexey Ilyin 2021-10-08 12:53:47 UTC
In X11 session, I can start dragging the image somewhere from the main view, but in Wayland, I can't. Only drag and drop from the thumbnail bar is possible.

STEPS TO REPRODUCE
1. Start the Plasma Wayland session
2. Open an image in Gwenview
3. Start dragging the image from the main view

OBSERVED RESULT
The cursor over the image changes to a clenched hand, but the drag does not start.

EXPECTED RESULT
Similar behavior to X11: the image starts dragging out of the main view, just like from the thumbnail bar.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Alexey Ilyin 2021-10-19 19:32:25 UTC
Additional information:

In the original message, I forgot to mention that I was using a HiDPI monitor with scale factor of 175%.

I have found that Gwenview is not correctly scaling the image at fractional scaling factors, and it looks like my bug report is related to this issue.
I have found that images that are smaller than the [viewport size] divided by 1.75 (see above) can be dragged and dropped. If you reduce the size of the window and the viewport, the image is no longer dragged. Gwenview probably thinks that the image is larger than the viewport and can be scrolled, and it is blocking the ability to drag, although in reality I can see that the picture is not scrolling and is smaller than the size of the viewport.
Comment 2 Patrick Silva 2022-10-29 15:33:33 UTC
Cannot reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 3 John Kizer 2025-02-28 05:44:00 UTC
*** Bug 500267 has been marked as a duplicate of this bug. ***
Comment 4 John Kizer 2025-02-28 05:45:30 UTC
I can reproduce on Fedora KDE 41, Gwenview 24.12.2
Comment 5 ratijas 2025-06-28 11:19:29 UTC
Recently Gwenview lost capability to Drag&Drop from the main view on X11 too. It's been broken for a couple of months now.