Created attachment 135848 [details] Dolphin and foobar2000 screenshot SUMMARY Dragging a file from Dolphin to a WINE application (e.g. foobar2000) doesn't work in Wayland. X11 works. STEPS TO REPRODUCE 1. Drag an audio file from Dolphin to foobar2000 OBSERVED RESULT foobar2000's 'drop' indicator line appears as usual, but the error cursor appears, and the drag & drop operation doesn't work. EXPECTED RESULT The drag & drop operation works and the file appears in the foobar2000 playlist. SOFTWARE/OS VERSIONS Fedora 33 KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
On further reflection, this might be an upstream bug - https://www.collabora.com/news-and-blog/news-and-events/wayland-on-wine-an-exciting-first-update.html
Are you using the https://gitlab.collabora.com/alf/wine/ wayland wine build? Or are you using stable wine with xwayland?
I'm using stable WINE with XWayland.
(Sorry, I think I muddied the waters by referencing that Collabora build - seems like this is a separate issue.)
I think it's valid to mention the Wayland build in this issue. In fact you can try compiling it from source. In my experience, it works well for some applications but there were KDE specific bugs for others. However, I also noted KDE specific bugs with Xwayland Wine, so it's possible that the drag&drop bug you report here is also KDE specific. Have you tried if the Xwayland drag&drop works on Gnome Wayland session or Weston?
FYI, Alexandros fixed the KDE related bugs in the wine wayland branch and since March 4 2021 it works well (and much better than the XWayland version). The only caveat is that at this point Wine applications will always use en-us keyboard layout, but that will be fixed later. To install: mkdir -p ~/src/ cd ~/src git clone -b wayland https://gitlab.collabora.com/alf/wine/ ./configure --with-wayland make -j$(nproc) To use: WINEARCH="win32" DISPLAY= WAYLAND_DISPLAY=wayland-0 WINEPREFIX=~/.wine_wayland ~/src/wine/wine program.exe
Cool, so does that mean this bug is fixed now?
As this bug is about Wine + XWayland, it's not fixed by the Wine Wayland version. Also I don't think it's clear if the XWayland issue reported here is a upstream bug or kwin bug. Compiling Wine Wayland branch can be used as a workaround. I wouldn't bother with the Xwayland issue as the workaround should in due time become part of stable Wine release. But others may feel different and may want to fix the Xwayland issue.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Setting bug status to reported.
This bug was reported against an outdated version of KWin. We have made many changes since the. If the issue persists in newer versions can you reopen the bug report updating the version number.