hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.65k stars 830 forks source link

Droping stuff is broken in gtkmm 4 (Drag and drop) #7367

Closed System64fumo closed 1 day ago

System64fumo commented 1 month ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 1840a907a8c6b1f59cfa6738a8f46b320e8df8b1 (renderbuffer: ensure framebuffer gets deleted (7363)). Date: Fri Aug 16 12:09:01 2024 Tag: v0.42.0-28-g1840a907, commits: 5097 flags: (if any) System Information: System name: Linux Node name: frostbite Release: 6.9.9-xanmod1-1-edge Version: #1 SMP PREEMPT_DYNAMIC Sun, 14 Jul 2024 15:01:49 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 555.58.02 Tue Jun 25 01:39:15 UTC 2024 os-release: NAME="Artix Linux" PRETTY_NAME="Artix Linux" ID=artix BUILD_ID=rolling ANSI_COLOR="0;36" HOME_URL="https://www.artixlinux.org/" DOCUMENTATION_URL="https://wiki.artixlinux.org/" SUPPORT_URL="https://forum.artixlinux.org/" BUG_REPORT_URL="https://bugs.artixlinux.org/" PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/" LOGO=artixlinux-logo ```

Description

For some reason and i can't explain why, The drop feature in drag and drop is broken in gtkmm 4 on hyprland, Works fine in other comps tho.

How to reproduce

clone and build this Try to drag and drop Drag works fine Drop does not

Crash reports, logs, images, videos

Example of drag and drop not working in HL but working in labwc (inside HL)

https://github.com/user-attachments/assets/e31d41d8-adec-4fa0-b09b-39f68b408023

This makes absolutely no sense since drag and drop works fine in gtk 3 programs or heck even gtk 4 programs

vaxerski commented 1 month ago

can you post WAYLAND_DEBUG=1 logs of the droppee from hl and one of the working comps

its-darsh commented 1 month ago

for the record, the same issue exists with vscode set to work under wayland native

System64fumo commented 4 weeks ago

@vaxerski test-hyprland.log test-labwc.log

vaxerski commented 1 day ago

fixed in git