Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking near the top of a layer-shell popup closes the popup instead of interacting with it #9023

Open
4 of 6 tasks
Mabi19 opened this issue Jan 10, 2025 · 0 comments
Open
4 of 6 tasks
Labels
bug Something isn't working

Comments

@Mabi19
Copy link

Mabi19 commented Jan 10, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Probably not a regression / I don't remember it happening before

System Info and Hyprland Version

System/Version info
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.6.0
 hyprlang 0.6.0
 hyprutils 0.3.1
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: mabi-arch
Release: 6.12.8-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 02 Jan 2025 22:52:26 +0000


GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c1) (prog-if 00 [VGA controller])
14:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c2) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

Description

Clicking on buttons near the top of popup menus opened by layer-shell surfaces usually doesn't go to the popup, but closes it instead.
I've observed this happening with both my own AGSv2-based widgets and gtk4-layer-demo.
However, it doesn't happen if I put my AGSv2 widget in a regular window or in Sway, so I don't think it's a GTK/gtk4-layer-shell bug.

How to reproduce

  1. Launch gtk4-layer-demo.
  2. Open the "Set margin" dropdown and click on one of the +/- buttons. Occasionally, it will close the popup and not click the button - especially if the click location is near the top of the popup.

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

hyprland-config.txt

In this video, I demonstrate the bug. I first try it on my audio popup's mute button, then I show it doesn't happen if the audio widget is put in a regular window, then I show it also happens in gtk4-layer-demo, then I show it doesn't happen in gtk4-layer-demo in Sway.

layer-shell-popup-bug.mp4
@Mabi19 Mabi19 added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant