[KDE] Drag and drop from downloads doesn't work in Wayland
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: gudvinr+bugzilla, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
- Download some file
- Open website that allows uploading file using drag&drop
- Try downloaded file
Actual results:
You can't drag file, it just doesn't get grabbed.
Expected results:
You grab file and drag it onto upload field.
This doesn't happen on X11 session.
My system info:
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Do you still see it?
Thanks.
I can confirm the issue still persists (Firefox 113, Arch Linux, KDE Plasma 5.27.5)
Actually I was unable to reproduce the issue with Gnome 44, so it may be Plasma-specific issue
Updated•2 years ago
|
Comment 5•2 years ago
|
||
+1
Firefox 120
Fedora 39 with Plasma 5.27.9
The thing that's interesting about this bug is that it presents as the drag not even starting, as if the item is not draggable at all. The cursor doesn't change, and there's nothing that appears next to the cursor either, implying that it probably isn't detected as a drag?
This feels weird to me to be a kwin only issue, but it's obviously possible.
Comment 7•1 year ago
|
||
Idk if I'm wrong but before I think it was working with wayland backend too.
I mean, before it was working and now, not. For me it's like a few months ago that stop working ( And I was using wayland backend since years ago). I was not using much the pc so I was like " it will be repaired at somepoint by mozilla" but I really feel that the people doesn't have noticed at all or maybe it's nos useful for them.
On the other hand, for me it's very usefull because I usually upload attachments to gmail with grabbing from firefox the latest download or something. And in the latest months I'm starting using thunderbird.
For me it's the same, you can't grab anything in the download list, something that in x11 it's working correctly or xwayland too(with some other errors I have to say)
Comment 8•1 year ago
|
||
(In reply to tobiaspotocek from comment #5)
+1
Firefox 120
Fedora 39 with Plasma 5.27.9
may be it's better to put a vote here in the bug than to say +1..
Comment 9•1 year ago
|
||
Can you please test latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_Nightly_binaries
If you can reproduce it with latest nightly please attach the log.txt file.
MOZ_LOG="WidgetDrag:5" firefox > log.txt 2>&1
Thanks.
Comment 10•1 year ago
|
||
Here's my log.txt
of the bug using latest Nightly with MOZ_LOG="WidgetDrag:5" firefox > log.txt 2>&1
(with KDE Plasma 6.0.5)
Comment 11•1 year ago
|
||
(In reply to Iiro from comment #10)
Created attachment 9404530 [details]
log.txtHere's my
log.txt
of the bug using latest Nightly withMOZ_LOG="WidgetDrag:5" firefox > log.txt 2>&1
(with KDE Plasma 6.0.5)
Could you reproduced the problem? Or may be it's fixed?
Do you need, Martin, my log too?
Comment 12•1 year ago
|
||
(In reply to Iiro from comment #10)
Created attachment 9404530 [details]
log.txtHere's my
log.txt
of the bug using latest Nightly withMOZ_LOG="WidgetDrag:5" firefox > log.txt 2>&1
(with KDE Plasma 6.0.5)
Looks like D&D operation is not accepted by target. Can you create a screencast how it looks like?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Create_screenshot/screencast_for_a_bug_report
Thanks.
Comment 13•1 year ago
|
||
(In reply to albertogomezmarin from comment #11)
Do you need, Martin, my log too?
Only if you can reproduce it.
Thans.
Comment 14•1 year ago
|
||
If it was unclear, I was able to reproduce the issue. Here's a video displaying the issue. It's looks like it does not react to click/drag at all.
Comment 15•1 year ago
|
||
Comment 16•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #13)
(In reply to albertogomezmarin from comment #11)
Do you need, Martin, my log too?
Only if you can reproduce it.
Thans.
I can reproduce on nightly. You have here attached the log file. I hope you to see something. Thanks in advance!
Comment 17•1 year ago
|
||
Thanks. I tested that under Gnome and it seems to be working. So may be KDE specific...I see we're not getting D&D events according to the log. Will check that.
Comment 18•1 year ago
|
||
Tested right now under KDE/latest nightly/Fedora 40 and it works. I downloaded wiki image https://en.wikipedia.org/wiki/Main_Page#/media/File:John_D._Whitney.jpg
Can you retest latest nightly please?
Thanks.
Comment 19•1 year ago
|
||
Doesn't work for me on Firefox nightly/KDE wayland/Arch Linux dragging from the menu shown in the image I've attached. I do know it worked in there when I used X11, so it's probably a Wayland issue.
For the record it does work in the popup menu that shows if I click "show all downloads".
Comment 20•1 year ago
|
||
I cant test right now on nightly but in stable is happening yet. If you want to test it I think the problem might be relationed to arch based distro so with a live usb of manjaro arch endeavour... You'll be good to debug I think. I have not tested on another distros yet
Comment 21•1 year ago
|
||
I also seem to be facing this issue, I tested on both nightly and stable, nothing seems to happen when I try to drag a file from the drop down menu.
Fedora 40/KDE Wayland
Comment 22•1 year ago
|
||
I'm facing this problem with Firefox 128.02, on KDE Plasma 6.1.3 and X11 session (not Wayland), can't drag and drop anything from anywhere into a drop zone from any website.
Comment 23•1 year ago
|
||
Can you folks try Gnome, just for the testing purpose? I wonder if that's KDE related or if that's a Firefox bug. I can't reproduce on KDE/Gnome, both Wayland (Fedora 40). I didn't test X11. Also would be great to test on Wayland / X11 to check if that's X11 only or Wayland only.
Comment 24•1 year ago
|
||
If I remember correctly I had tested on x11. The bug was gone on x11.(I mean, not bug in x11, only on Wayland) But I have not tested on gnome already, I think it's not needed to test it because the problem with Wayland on KDE appears with vanilla endeavour os and manjaro Waylands. No need to do anything more... If I can't test in the next days pls, somebody can do it for us?
All with intel and AMD GPU if it's needed to know.
And somebody with gnome has tested for me and there was no bug at all. Feel free to test with vanilla manjaro or endeavour...
Comment 25•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #23)
Can you folks try Gnome, just for the testing purpose? I wonder if that's KDE related or if that's a Firefox bug. I can't reproduce on KDE/Gnome, both Wayland (Fedora 40). I didn't test X11. Also would be great to test on Wayland / X11 to check if that's X11 only or Wayland only.
I have tested it on XFCE (Ubuntu 22.04), drag and drop from file manager to Firefox, works. But, in KDE where it doesn't, drag and drop from file manager (Dolphin) to non-Mozilla based browsers (Falkon, Chrome) works.
Comment 26•1 year ago
|
||
(In reply to leoperbo from comment #25)
(In reply to Martin Stránský [:stransky] (ni? me) from comment #23)
Can you folks try Gnome, just for the testing purpose? I wonder if that's KDE related or if that's a Firefox bug. I can't reproduce on KDE/Gnome, both Wayland (Fedora 40). I didn't test X11. Also would be great to test on Wayland / X11 to check if that's X11 only or Wayland only.
I have tested it on XFCE (Ubuntu 22.04), drag and drop from file manager to Firefox, works. But, in KDE where it doesn't, drag and drop from file manager (Dolphin) to non-Mozilla based browsers (Falkon, Chrome) works.
Another weird fact: in KDE, drag and drop from file manager (Dolphin) to Mozilla Thunderbird's composer window works! (Thunderbird 115.13).
All my tests has been realized from X11.
Reporter | ||
Comment 27•1 year ago
|
||
(In reply to leoperbo from comment #26)
All my tests has been realized from X11.
Then it has nothing to do with this issue then
I have tested it on XFCE (Ubuntu 22.04), drag and drop from file manager to Firefox, works. But, in KDE where it doesn't, drag and drop from file manager (Dolphin) to non-Mozilla based browsers (Falkon, Chrome) works.
You probably need to fill another issue because this surely works both on Wayland and especially on X11.
Reporter | ||
Comment 28•1 year ago
|
||
As for this issue, D&D still doesn't work for me from download dropdown menu in Plasma/Wayland but works in Plasma/X11
Both in 128.0.3 and 131.0a1 (20240805215935)
Operating System: Arch Linux
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX Vega M GL Graphics
Comment 29•5 months ago
|
||
I'm having this bug too since almost a year. KDE Plasma 6.3, Platform Wayland, Firefox 128.7esr on Debian.
Reporter | ||
Comment 30•5 months ago
|
||
With 136.0 doesn't work for me either.
Comment 31•5 months ago
|
||
Doesn't work in 137.0b2 either (Arch Linux, KDE Plasma 6.3.2, Wayland)
Updated•5 months ago
|
Comment 32•4 months ago
|
||
Bug 1938101 has a patch for delayed data transfer so let's re-test when it hits latest nightly. Will look at this one after it.
Comment 33•2 months ago
|
||
I can reproduce. It works if the panel overflows the window somehow (either because of the window being thin, or because the downloads icon being all the way to the left of the toolbar).
So probably something about us using move-to-rect to position the panel or something vs just positioning it directly?
Updated•2 months ago
|
Comment 34•2 months ago
|
||
More interestingly, it works on the bookmarks popup (even when it's not positioned by move-to-rect), wat.
Comment 35•2 months ago
|
||
Marco, do you know what's different between the dragging code for bookmarks popup and downloads?
Updated•2 months ago
|
Comment 36•2 months ago
|
||
The difference between bookmarks popup and drag popup is this PopupType
check...
Comment 37•2 months ago
|
||
And if I comment that out then the bookmarks popup breaks too.
Updated•2 months ago
|
Comment 38•2 months ago
|
||
This is a KDE bug. It should be fixed in 6.4
Comment 39•2 months ago
|
||
Moved to https://bugs.kde.org/show_bug.cgi?id=497031. Thanks for the fix Vlad!
Description
•