-
-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drag and drop doesn't seem to work with applications running under xwayland #1083
Comments
what application to test? filezilla works for me perfectly fine. |
i tested rox-filer and dolphin (running under xwayland) |
works for me, dragged a file in dolphin to a different tab and it allowed me to copy it |
are you sure you ran dolphin under xwayland? |
yep |
hmm i'll have to try that again |
I can reproduce this, I used dragon-drop to drag a file into Caprine and Discord, both running in XWayland, and both ended up freezing for a while (Caprine froze for 40s and Discord for 10s), and the drop didn't have any effect on the app. However, when running dragon-drop in XWayland ( Also, when running dragon-drop in XWayland and dropping to a Wayland app, the dragged file would just start floating in the air on the last cursor position when dragon-drop was focused when the focus switches, so it's not actually possible to drag a file from XWayland to Wayland either. When I ran dragon-drop as a source and as a target, it worked fine, as long as both were running either in Wayland or XWayland. |
I use PCManFM as my file manager and the instant I get to edge of the window the file is dropped, this problem doesn't occur over on Sway |
doesn't pcmanfm run on native wayland? |
There's 3 different versions of it, the one I'm using is running through Xwayland Edit: The GTK2 version is what I had installed, this works properly on Sway, switching to the GTK3 branch which does run on native wayland allows me to drag the files into other native wayland windows, however I still can't drag into Xwayland windows |
That's an interesting one. Tried myself and pcmanfm-gtk2 is indeed broken, but pcmanfm-qt can dnd onto both wayland and xwayland apps. Odd. I personally use dolphin and it also works alright. |
Dolphin is producing the exact same result as pcmanfm-qt and pcmanfm-gtk3 for me, I can't drag onto Xwayland windows |
huh. odd. I certainly seem to be able to. Since it works on sway, I'll look into it. |
@BrodieRobertson Are you using fixed in b88de63 still can't seem to dnd from xwl -> xwl or xwl -> wl so that's a separate issue though. Dunno what the issue is, but xwayland having a completely separate method of doing dnd doesn't help here. Couldn't find the issue. I'll try some more maybe tomorrow. |
i had btw sorry for not replying, i started using i3 again, because i can use proprietary nvidia drivers on xorg, and i haven't had the motivation to fix my hyprland configuration to adapt to other changes i made for my nixos configuration |
that was to brodie, cuz he couldn't dnd from wl -> xwl xwl -> * is still broken even on follow mouse 1 |
oh ok |
I'm seeing this behavior too, but so far only in one scenario: dragging files from file-roller to thunar. The panel in thunar is highlighted when the file is dragged over, but when I let go, the file is not extracted. When I run both programs from terminals, I don't get any error output. However if I drag the file in reverse - from thunar to file-roller - the file is successfully added to the archive. And selecting "extract here" from thunar's context menu works fine. I tried this with follow_mouse = 0, 1, and 2 with the same results. |
follow_mouse has always been set to 1 for me wl -> wl works If I drag a file into discord, discord doesn't do anything with it, if I drag a video into my youtube studio to upload it does. So it may actually be a completely seperate issue with discord/electron xwl -> * doesn't work |
can confirm that dragging from discord to firefox does not work. |
idk what the hell happened but I am suddenly now able to drag xwl->xwl? xwl->wl doesn't work to me even on sway though, doesn't seem like either xwayland or wlr support this |
i personally fixed that issue by launching discord with electron wayland flags: |
I can replicate this exact issue. From file-roller to nautilus in my case. It works for adding to the archive, but not for extracting. |
Hello, I'm having a weird case here in my app https://ossia.io related to this bug :
|
dnd for xwayland support has been dropped, your archlinux mirror is likely mega old and still has some old version Closing this as wontfix there is also a newer issue for this iirc |
Now I see why I can't DND for reaper. |
I tested this in sway briefly, and it works, so this must be a Hyprland issue.
The text was updated successfully, but these errors were encountered: