Bug 454904

Summary: [Wayland] Drag-and-drop does not work with a wxgtk3 app running on Xwayland
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: gudvinr+kde, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.24.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: .srt subtitles file
screenshot

Description Patrick Silva 2022-06-05 20:14:21 UTC
Created attachment 149490 [details]
.srt subtitles file

SUMMARY
I'm unable to reproduce this bug on X11 session of Plasma and Wayland session of Gnome 42.2 running on Arch Linux.

STEPS TO REPRODUCE
1. install aegisub subtitle editor (a wxgtk3 app) - I have installed Aegisub 3.2.2 from Arch repos
2. run aegisub on Xwayland with the following command:
$ env GDK_BACKEND=x11 aegisub-3.2 %f
3. download the attached .srt subtitles file
4. drag the downloaded .srt file and try to drop it on aegisub

OBSERVED RESULT
despite the mouse pointer changes to 'allowed' mode when I hover over aegisub, aegisub does not open the .srt file when I drop it.

EXPECTED RESULT
drag-and-drop works with aegisub

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 1 gudvinr+kde 2022-08-10 16:52:12 UTC
This still happens on 5.25 too, with PrusaSlicer in particular.
Comment 2 Patrick Silva 2022-09-22 12:19:00 UTC
Created attachment 152331 [details]
screenshot

DnD does not also work with Audacity 3.1.3 installed from flathub. I get the error message 'file not found' seen in the attached screenshot. Cannot reproduce on X11.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 3 Patrick Silva 2022-10-28 16:15:27 UTC
Cannot reproduce on Arch Linux (Plasma 5.26.2) or neon unstable. \o/

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