cosmic-files freezes after drag-and-drop due to duplicate leave events
#12494
Unanswered
TheEnchantedPotato
asked this question in
Feature requests - Protocols / Integrations
Replies: 2 comments 1 reply
-
|
I can't reproduce this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I have this problem with both cosmic-files and cosmic-app-library. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hyprland sends duplicate wl_data_device.leave() events after drop()
Already reported?
Regression?
System Info and Version
Bug Description
Hyprland sends duplicate
wl_data_device.leave()events after a drag-and-dropdrop()operation. This has been confirmed with two different applications using different toolkits:The same cosmic-files version works perfectly on Wayfire compositor, confirming this is Hyprland-specific.
Expected Wayland protocol sequence
According to the Wayland protocol, after a successful drop the sequence should be:
Actual Hyprland sequence
Debug Evidence
Test 1: cosmic-files (libcosmic/iced)
Result: Application freezes, must be killed.
Test 2: Nautilus (GTK4)
First drag-and-drop:
Second drag-and-drop:
Result: Works, but duplicate events are still sent (GTK handles them gracefully).
Steps to reproduce
WAYLAND_DEBUG=1to capture protocol messagesleave()events in the logFor cosmic-files, the application will freeze after step 4.
Comparison with other compositors
Environment
Possibly related issues
Full WAYLAND_DEBUG logs
cosmic-files log (click to expand)
Nautilus log - first DnD (click to expand)
Nautilus log - second DnD (click to expand)
Summary
Hyprland consistently sends duplicate
wl_data_device.leave()events after everydrop()operation. This is observable with multiple applications and toolkits. While GTK applications handle this gracefully, libcosmic/iced applications freeze, making COSMIC desktop applications unusable for drag-and-drop on Hyprland.Beta Was this translation helpful? Give feedback.
All reactions