Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
Didier is currently offline  Didier
Messages: 738
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 Go to previous messageGo to next message
Klugier is currently offline  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

Re: DragAndDrop doesn't work on Fedora 42 [message #61915 is a reply to message #61914] Sun, 25 January 2026 20:16 Go to previous message
Didier is currently offline  Didier
Messages: 738
Registered: November 2008
Location: France
Contributor
Hello Klugier,

Thanks for looking into it.
I tried to look into it at first (without much success Sad ) and didn't have time to come back to it.

I will compile it with the GUI_WAYLAND flag
Do you need any particular logs or something else ?
Previous Topic: How to read YAML file or INI file
Next Topic: Add compilable testcases for nontrivial problems!
Goto Forum:
  


Current Time: Sun Jan 25 22:28:23 CET 2026

Total time taken to generate the page: 0.11336 seconds