nheko
nheko copied to clipboard
Unable to send file by dragging and dropping
Describe the bug
I am unable to send files to the currently open channel by dragging and dropping them onto the Nheko window. The program does not seem to notice the attempted input or respond in any way.
To Reproduce
- Open Nheko client
- Navigate to a message channel
- Open a file manager
- Drag a file icon onto the Nheko client and release
- Observe nothing happens
What happened?
The client did not respond to the drag-and-drop in any way.
Expected behavior
Dragging and dropping a file icon onto the Nheko client should have equivalent functionality to clicking "Send a file" in the current open channel, browsing to the file in question, and clicking Select.
Version
0.10.0
Operating system
Linux (Ubuntu 22.04.1)
Installation method
Flathub
Desktop environment
GNOME with X11 as the window manager
That seems to work fine, what version are you running?
OS: Linux, Ubuntu 22.04.1 Kernel version: 5.15.0-47 GNOME version: 42.2 Window manager: X11 Nheko: Flatpak 0.10.0
Hm, it works fine on KDE with that version... Maybe the Gnome special handling code broke.
Updated the description from the bug template.
I've since reinstalled a different OS, and can also reproduce this in the following conditions:
Version
0.10.0
Operating system
Linux (Manjaro 21.3.7)
Installation method
Flathub
Desktop environment
KDE Plasma with X11 as the window manager
https://bugreports.qt.io/browse/QTBUG-91357
You might be able to work around that by giving Nheko filesystem permissions.
Nheko does have access to the directory I'm trying to drag and drop from already. You are correct though, giving it 100% file system access does address the issue.
Well, the issue is that the normal portals, that power the file open dialog, don't work in this case. There is some new portal stuff for it, that Qt simply doesn't implement yet.