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
21.36k stars 898 forks source link

GTK4 layer shell touch issues #7529

Open System64fumo opened 2 months ago

System64fumo commented 2 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit ca85455a8ed5dbe920a47c1a48de1dd993446481 (misc: Rename all instances of emtpy to empty (7522)). Date: Mon Aug 26 13:25:52 2024 Tag: v0.42.0-70-gca85455a, commits: 5139 flags: (if any) System Information: System name: Linux Node name: icicle Release: 6.11.0-rc2-baka+ Version: #69 SMP PREEMPT Sun Aug 25 13:45:22 IDT 2024 GPU information: qcom,adreno-630.2 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 plugins: hyprgrass by horriblename ver 0.7 ```

Description

GTK4 layershell popovers do not seem to receive touch inputs. One could argue that i'm doing it wrong, But nope, Works fine in other wlr comps such as labwc for instance.

How to reproduce

1: Install and run sysbar 2: Tap the clock area to open the date widget 3: Attempt to interact with the date widget and fail

Crash reports, logs, images, videos

Not really a crash so no logs.

Notes: Can't reproduce on my desktop using an external USB touchscreen however i can reproduce this on my x86_64 tablet. If i had to guess i'd agree with vaxry on this being "another one of those lack of physical mouse issues" This issue is only relevant to GTK4 layer shell as if i force sysbar to not use layershell the popovers work as intended.

System64fumo commented 2 months ago

Bot alert!!

drkhsh commented 3 weeks ago

Can reproduce this on my Surface Go (x86_64 tablet as well) on the latest Hyprland version.

Happens on waybar and eww as well (with GTK4 layer shell enabled).

If anyone has any pointers for where to search, I can have a look into it actually.