1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 7
- Joined: Tue Mar 28, 2023 11:27 am
1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Subject: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
XnView: Version 1.4.3 64bits (Feb 26 2023) - installed from .deb file https://download.xnview.com/XnViewMP-linux-x64.deb
OS: Ubuntu 22.04 LTS running Wayland
I'm unable to drag and drop files from XNView into other programs. My main use for this is attaching files to e-mail or instant messages in browser windows (Gmail, Whatsapp, Slack). Also doesn't work for moving files to file browser windows (Nautilus)
Effect: Nothing happens at all
To reproduce:
1. Open XnViewMP
2. Open second application (such as a Nautilus window)
3. Drag an image file into the second application
Actual behaviour (bug): Nothing happens. Wayland isolates applications much more strongly than the previous X11 system, so I'm assuming the file isn't being passed between applications properly.
Expected behaviour: File is moved to the folder open in the file explorer (Nautilus) or inserted in the chat/e-mail window. IIRC this worked as expected if X was used rather than Wayland.
XnView: Version 1.4.3 64bits (Feb 26 2023) - installed from .deb file https://download.xnview.com/XnViewMP-linux-x64.deb
OS: Ubuntu 22.04 LTS running Wayland
I'm unable to drag and drop files from XNView into other programs. My main use for this is attaching files to e-mail or instant messages in browser windows (Gmail, Whatsapp, Slack). Also doesn't work for moving files to file browser windows (Nautilus)
Effect: Nothing happens at all
To reproduce:
1. Open XnViewMP
2. Open second application (such as a Nautilus window)
3. Drag an image file into the second application
Actual behaviour (bug): Nothing happens. Wayland isolates applications much more strongly than the previous X11 system, so I'm assuming the file isn't being passed between applications properly.
Expected behaviour: File is moved to the folder open in the file explorer (Nautilus) or inserted in the chat/e-mail window. IIRC this worked as expected if X was used rather than Wayland.
-
- Posts: 7
- Joined: Tue Mar 28, 2023 11:27 am
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Just updated to 1.4.4. Still no change unfortunately.
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
it seems that it's a QT problem
Pierre.
-
- Posts: 7
- Joined: Tue Mar 28, 2023 11:27 am
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Thanks for your reply!
Does that mean we simply need to wait until QT support for Wayland improves?
Does that mean we simply need to wait until QT support for Wayland improves?
-
- Posts: 7
- Joined: Tue Mar 28, 2023 11:27 am
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Thanks for the info, I will see if I can stick with X.org rather than Wayland for now.
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Drag n drop to Firefox window on Wayland is working.
-
- Posts: 7
- Joined: Tue Mar 28, 2023 11:27 am
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Awesome, was there an update to QT? Which version of which distro are you running?
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
It works with Firefox and Chromium only. Not working with LibreOffice writer.
The problem still exists. Tested on Ubuntu 22.04
The problem still exists. Tested on Ubuntu 22.04
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Installed Qt version doesn't matter because XnView MP is statically linked with Qt 5.bemymonkey wrote: Wed May 31, 2023 6:33 am Awesome, was there an update to QT? Which version of which distro are you running?
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
I just tried the latest XnView MP on Ubuntu 23.04 (64 bit).
Dragging from XnView MP to Gnome file manager causes causes Gnome shell to crash.
Also XnView MP is not working at all on KDE plasma with Wayland.
Just hangs at startup. See log: https://pastebin.com/QLdfNHFk
Maybe it's not XnVIew's fault, but linux desktop environment's and Wayland.
Dragging from XnView MP to Gnome file manager causes causes Gnome shell to crash.
Also XnView MP is not working at all on KDE plasma with Wayland.
Just hangs at startup. See log: https://pastebin.com/QLdfNHFk
Maybe it's not XnVIew's fault, but linux desktop environment's and Wayland.
-
- Posts: 7
- Joined: Tue Mar 28, 2023 11:27 am
Re: 1.4.3 64bit - Drag & Drop to other applications not working on Wayland
Just a heads up: XnViewMP as a Flatpak allows drag & drop under Wayland without issue on Debian 12.