Home » U++ Library support » U++ Core » DragAndDrop doesn't work on Fedora 42
| DragAndDrop doesn't work on Fedora 42 [message #61899] |
Thu, 11 December 2025 23:51  |
Didier
Messages: 737 Registered: November 2008 Location: France
|
Contributor |
|
|
Hello,
I just noticed that DragAndDrop of files doesn't work properly on fedora 42.
I don't know since when this bug is around, I haven't used this since some time.
The reference/DropFiles example has the same symptoms.
The behaviour is the following:
* try to dragAndDrop A file : It may work or not
If it works, the second time you dragAndDrop the same file and the next ones fail (mouse cursor is a stop sign)
* If you try to dragAndDrop another file it may work or not
* After some point that is reached after 0, 1 or 2 successful DragAndDrop it seems to be stuck in FAIL state
I tried to investigate but nothing obvious popped
I am on linux Fedora 42 with KDE.
The drop source navigator is Dolphin
[Updated on: Thu, 11 December 2025 23:53] Report message to a moderator
|
|
|
|
| Re: DragAndDrop doesn't work on Fedora 42 [message #61914 is a reply to message #61899] |
Sun, 25 January 2026 12:57  |
 |
Klugier
Messages: 1108 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Dider,
I ran several tests and the issue appears to be related to Wayland, at least for the first problem you described. When drag-and-drop works once, subsequent attempts with the same file fail--the mouse cursor changes to a "stop" sign.
When the application runs using the Wayland backend, this issue does not occur. Additionally, dragging files from Dolphin to TheIDE does not work when TheIDE is running under XWayland. In contrast, when TheIDE runs as a native Wayland application, everything works as expected.
Dragging files from the application to Dolphin also fails when both applications are running under Wayland. This seems to indicate a protocol mismatch and should be investigated further. It is unclear whether Wayland/XWayland interoperability can be fixed on our side, as this likely relates to the XWayland implementation in KDE.
You can compile the DropFiles example with the GUI_WAYLAND flag to force the Wayland backend and observe how it behaves. I would be grateful for any feedback on this matter.
Klugier
U++ - one framework to rule them all.
[Updated on: Sun, 25 January 2026 12:59] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sun Jan 25 14:50:46 CET 2026
Total time taken to generate the page: 0.09915 seconds
|