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

nemo-dnd: Have the drag and drop text data not be uris but plain paths. #3356

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

ToxicMushroom
Copy link
Contributor

Fixes #3354

New drag and drop data returned:

Before After
text/uri-list file:///path.ext\r\n file:///path.ext\r\n
text/plain file:///path.ext\r\n /path.ext\r\n
text/plain;charset=utf-8 file:///path.ext\r\n /path.ext\r\n

I did not see any regression with other apps I tested this on.

Apps I tested were: discord (wayland), chromium (wayland), firefox (wayland), gajim (wayland), CLion (XWayland), discord (XWayland), nemo to nemo, gedit, gnome console.

Some programs get confused when presented with uris when they requested text typed data (even though the uris are just text...).

See linuxmint#3354.
@mtwebster mtwebster merged commit 184204a into linuxmint:master Feb 14, 2024
3 checks passed
@mtwebster
Copy link
Member

What desktop were you testing on? I didn't get the same behavior between all file managers that you reported (nautilus, for instance, did not work - maybe too old I guess).

Thanks

@ToxicMushroom
Copy link
Contributor Author

What desktop were you testing on? I didn't get the same behavior between all file managers that you reported (nautilus, for instance, did not work - maybe too old I guess).

Thanks

I'm on sway 1.8.1 but I tested a little bit on gnome and had the same overall experience there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Wayland] Drag and drop uri behaviour issues
2 participants