SUMMARY KDE Plasma in Wayland does not support Drag and Drop operations from Dolphin to Chromium (and Firefox). STEPS TO REPRODUCE 1. Login to KDE Plasma with Wayland 2. Open web page accepting upload files with Drag and Drop in Chromium (or Firefox) 3. Open Dolphin folder where there is at least one readable file 4. Drag and drop that file to the web page area which accepts uploads OBSERVED RESULT Chromium does not upload the file, instead acts like it download such file. EXPECTED RESULT Drag and Dropped file shall be accepted by the upload area in the web page SOFTWARE/OS VERSIONS Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.5.0-17-generic (64-bit) ADDITIONAL INFORMATION When tested on graphics platform X11 everything works well.
I've tested it on Plasma 6 (Drag & Drop a file from Dolphin to the VirusTotal page on Firefox) and it works fine. On wayland .
Can reproduce the bug on the following setup: Operating System: Fedora Linux 39 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.7.9-200.fc39.x86_64 (64-bit) Graphics Platform: Wayland
I can't reproduce the exact issue as OP, but I can 100% reproduce at least a very similar issue in the same browser on a more up to date setup. Drag and drop seems to depend on last-touched window. For example, if I drag a file from Dolphin over VSC(Electron) and then to the target Chromium window with https://www.virustotal.com/gui/home/upload it works fine. But if the last thing I dragged over is Plasma notifications, it will have the red crossed out O and won't let me upload. In that state, I can change the last-dragged-through-element by hovering over VSC again and back to Chromium, and the icon will change and it will work. Note that there is currently a bug in current Chromium versions where drag and drop will break the browser, and the workaround is to do drag and drop again without actually dropping the file to re-enable it. Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.4-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor Memory: 62.0 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: X670 AORUS ELITE AX
On Firefox, I have the issue only when dropping a second file like told in bug 483645 : https://bugs.kde.org/show_bug.cgi?id=483645 I don't know if this bug is the same and is related to switches between windows.
It used to work in Plasma 5 after a bit of back-and-forth alt-tabbing between Dolphin and Firefox while "holding" the file, not it doesn't work at all. On Tumbleweed with Plasma 6.0.4 and Dolphin 24.02.2
I found great workaround. If you want to use stable Plasma while keeping your laptop up-to-date, switch to Kubuntu 24.04. It has Plasma 5, same as Neon had before switched to Plasma 6, and it is significantly faster!
I can confirm this bug is now fixed on KDE 6.1.
I'm using 6.1.2 on Tumbleweed, and I can't drag and drop to any chromium / electron applications. Should I reopen this bug or create a new one?
I am and have been able to drag and drop into Firefox using Firefox in XWayland mode (MOZ_ENABLE_WAYLAND=0). In Wayland mode (MOZ_ENABLE_WAYLAND=1) I am unable to currently. Plasma 6.1.3 Version 128.0 Build ID 20240719093654 Distribution ID archlinux User Agent Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
This bug might be related to https://bugs.kde.org/show_bug.cgi?id=469644 which has just been fixed.
I'm also unable to drag-and-drop images to firefox on following setup: Operating System: KDE neon 6.0 KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.5.0-44-generic (64-bit) Graphics Platform: Wayland > I am and have been able to drag and drop into Firefox using Firefox in XWayland mode (MOZ_ENABLE_WAYLAND=0). In Wayland mode (MOZ_ENABLE_WAYLAND=1) I am unable to currently. I have tried both flag and neither worked. > This bug might be related to https://bugs.kde.org/show_bug.cgi?id=469644 which has just been fixed. tried `kwin_wayland --replace` but it crashed plasma and after that it did not fix the behavior.
(In reply to greenscarf005 from comment #11) > KDE Plasma Version: 6.1.3 > > This bug might be related to https://bugs.kde.org/show_bug.cgi?id=469644 which has just been fixed. > > tried `kwin_wayland --replace` but it crashed plasma and after that it did > not fix the behavior. The bug report I linked states that this is fixed for Plasma 6.1.4. You indicated that you are on 6.1.3, so it not being fixed for you is expected.
(In reply to Felix Ernst from comment #12) > (In reply to greenscarf005 from comment #11) > > KDE Plasma Version: 6.1.3 > > > > This bug might be related to https://bugs.kde.org/show_bug.cgi?id=469644 which has just been fixed. > > > > tried `kwin_wayland --replace` but it crashed plasma and after that it did > > not fix the behavior. > > The bug report I linked states that this is fixed for Plasma 6.1.4. You > indicated that you are on 6.1.3, so it not being fixed for you is expected. sorry, haven't noticed that. that said, even after i upgraded to plasma 6.1.4 the issue isn't solved at all. Operating System: KDE neon 6.0 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.8.0-40-generic (64-bit) Graphics Platform: Wayland
I can confirm the issue persists. Drag and drop isn't working across few other system apps I have used, like dragging file from Dolphin to Thunderbird as attachment, or to Slack or Discord. This has been an issue for me basically since KDE 6 (Wayland).
Doesn't work here, either Operating System: KDE neon 6.0 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.8.0-40-generic (64-bit) Graphics Platform: Wayland Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics Memory: 15,0 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: Acer Product Name: Aspire A515-44G System Version: V1.12
I am affected by this as well. Whenever I try to upload a file to a Chromium PWA (f.i. Google Drive as a Edge PWA) I get an error saying that the file is empty (or that it does not exist). Is this a bug in Kwin really? Or is it a misconfigured web browser? I'm on Wayland