Skip to content
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

[Bug] Drag and Drop not working on Linux #26

Open
SealProgrammer opened this issue Jul 6, 2024 · 4 comments
Open

[Bug] Drag and Drop not working on Linux #26

SealProgrammer opened this issue Jul 6, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@SealProgrammer
Copy link

OS and Version

Arch Linux with TKMM 1.0.0-beta6, running through XWayland on Hyprland

Describe the Issue

When drag-and-dropping files on the below area, nothing happens. This has been tried with both Nautilus and Dolphin file managers.
image

It's probably something to do with Linux on my end, but I think a different form of input like adding a text input would be a nice addition that would solve this. Another idea is making it so pressing on the area would open a file dialogue on its own, as that seemed to work fine in the setup process.

@SealProgrammer
Copy link
Author

I switched DEs, and it does not seem to be working on Xorg either. I tried it with i3wm and GNOME, both on Xorg, and it still does nothing. i3 even had a 🚫 for the mouse when I tried to drop it.

@SealProgrammer SealProgrammer changed the title Drag and Drop not working on Linux [Bug] Drag and Drop not working on Linux Jul 6, 2024
@ArchLeaders
Copy link
Member

ArchLeaders commented Jul 6, 2024

As far as I know, linux does not support drag/drop. I haven't looked into it much though.

@ArchLeaders ArchLeaders added the help wanted Extra attention is needed label Jul 6, 2024
@lunatic-gh
Copy link

Drag&Drop Support is definitely possible on Linux. For instance, i'm using i3, and i can easily drag files from my browser's (floorp) downloads popup into my file explorer (nautilus), to the point where i can even drop them on top of a folder to copy them into that folder.

That being said, it depends a lot on the applications used.
For instance when i use File-Roller (a File Archiver like 7zip on Windows) it does not support the "Drag" Part at all, so you can't even start the drag process.
On the other hand, i've noticed some file managers in the past not supporting the "Drop" Part.

So AFAIK (don't quote me on this) a program like this would have to support the "drop", while whatever file explorer the users are using have to support "drag", which is 100% out of control of the other program.

@ArchLeaders
Copy link
Member

I'll look into it more, but it may be an issue with Avalonia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants