| Summary: | Drag and drop files into Gajim (Flatpak) does not work | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | postix <postix> |
| Component: | Wayland drag-and-drop | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | normal | CC: | kde, nate, sitter |
| Priority: | HI | ||
| Version First Reported In: | 6.1.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
postix
2024-07-22 15:29:05 UTC
For testing: * Install Gajim (Flatpak) * Create an free account e.g. on conversations.im * Start a new chat with the + sign: choose Note to your self * Try to drag and drop a file from Dolphin into the chat with yourself Can you confirm if it works on gnome? (In reply to David Edmundson from comment #2) > Can you confirm if it works on gnome? Yes, just tested it with two freshly set up and updated Fedora 40 virtual machines, Gnome Workstation and KDE Spin editions. installed org.gajim.Gajim from flathub. * Works perfectly fine on Gnome Wayland * Does not work as described on KDE Plasma Wayland this https://dev.gajim.org/gajim/gajim/-/blob/66f6ed7ff47e7121f5d25a1f2b9717b922f2400c/gajim/gtk/file_transfer_selector.py#L84 is not the correct mimetype https://github.com/flatpak/xdg-desktop-portal/blob/a74c2ee93befca1f8583e86e165dbe90a0e72a15/data/org.freedesktop.portal.FileTransfer.xml#L30 it works on gnome because gtk originally had the wrong mimetype and still provides the wrong one for a couple releases for compatibility. Please file a bug with gajim. Thank you Harald! \o/ Hi Harald, Gajim now has updated the mime type [1], but the issue remains the same in Gajim 1.9.3 flatpak. So, is it yet rather a kwin bug after all? [1] https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/gtk/file_transfer_selector.py?ref_type=heads#L84 Does it work on x11? (In reply to Harald Sitter from comment #7) > Does it work on x11? The situation hasn't changed and is still the same as in https://bugs.kde.org/show_bug.cgi?id=490653#c3 I'd happy for any idea how to further debug this issue. :) (In reply to postix from comment #1) > For testing: > * Install Gajim (Flatpak) > * Create an free account e.g. on conversations.im > * Start a new chat with the + sign: choose Note to your self > * Try to drag and drop a file from Dolphin into the chat with yourself This works fine for me on wayland so long as I first click on the attachment icon. When I just try to drop it onto the chat it doesn't work strangely enough. I am not convinced that bug is on our end though seeing as it works on the attachment view now. Oh the humanity! https://dev.gajim.org/search?search=vnd.portal.files&nav_source=navbar&project_id=30&group_id=6&search_code=true&repository_ref=master The incorrect mimetypes in chat_stack.py are probably why the described use case doesn't work. avatar.py I am not sure but also is wrong. > The incorrect mimetypes in chat_stack.py are probably why the described use case doesn't work.
I think you are a hero! Thanks!
|