[Bug] Mouse input on bar is swallowed by swaync - without closing the center
Describe the bug The control center absorbs mouse input over the bar area without closing the center.
To Reproduce Steps to reproduce the behavior:
swaync-client -t- Click on the bar area (type of bar does not matter - both waybar and ashell not working)
- Notice that inputs dont reach the bar AND dont close the control center
- Click outside the center and below the bar (e.g. middle of screen) and see it close as expected
Expected behavior I expect the bar to either
- stay responsive (dont absorb mouse input above its window where the bar is)
- or close the center since the click is outside its window
Desktop (please complete the following information):
- OS: NixOS, rev d3d2d80a2191a73d1e86456a751b83aa13085d7d
- Version 0.11.0
- hyprland main
- waybar or ashell - in waybar layer=top
Additional context Potential old issue: #21
You need to set control-center-exclusive-zone to false
Thanks for the pointer but this did NOT resolve the issue, hence the bug report...
To verify, feel free to check my config here I dont know if this setting is incompatible with other settings.
So with the setting set to false, the control center covers the whole display, including the bar:
Isn't that what you're looking for? Or have I misunderstood the issue completely? 😅
Haha alright I can see how that might have been misunderstandable. My problem is that swaync creates a space that inhibits mouse clicks - and NOT close.
This is my problem :)
So I would expect either
- for me to be able to continue to interact with the bar => but the red area swallows all clicks, so any bar stays unresponsive
- or for swaync to close, since this is a click outside the center
Both behaviors are fine with me, but the current behavior of inhibiting interaction is not.
I hope this made it a bit more clear :D
Same problem here.
I'm using the waybar-example with "on-click": "swaync-client -t -sw", so it should toggle the window. First click opens the notification window, but every other click isn't working. Also, there is no indicator that you can click the icon on hover, when swaync-window is opened.
Update: just noticed, that clicking on the bar is also not possible when i open my rofi-launcher. Perhaps this is more an issue of hyprland than swaync?
Experiencing this issue too, can confirm "control-center-exclusive-zone": false does not seem to resolve it. It is a small problem, but incredibly annoying.
Also, clicking on a secondary monitor, while the panel is open, doesn't close it.
Are all of you running hyprland?
Are all of you running hyprland?
I can confirm that I have the same problem running Hyprland. I've also tried approaching the problem as a Hyprland configuration problem, but I am unsuccessful on that end too.
Does someone remember if this was like this few months ago? Because, I don't remember having this issue when I first started using SwayNC.
Does someone remember if this was like this few months ago? Because, I don't remember having this issue when I first started using SwayNC.
Haven't changed anything regarding that since early last year, so then it's a Hyprland issue sadly :(
Are y'all able to test earlier versions of Hyprland?
Running Hyprland with SwayNC and EWW bar/widgets and the issue is also here.
Are y'all able to test earlier versions of Hyprland?
I can confirm that on Hyprland versions earlier than v0.49.0 this bug does not occur. I manually downgraded to v0.48.1-5 to avoid the issue, but tbh i dislike using older versions.
The only "fix" I've seen on the newest version of Hyprland is to set layer-shell to false, but that forces SwayNC to be a floating window, so it's not ideal at all.
I can confirm that on Hyprland versions earlier than v0.49.0 this bug does not occur. I manually downgraded to v0.48.1-5 to avoid the issue, but tbh i dislike using older versions.
Good to know that it's a hyprland issue then. I'll leave the issue open so that other people don't open similar issues until it's resolved.
There's sadly nothing that I can do about this then, so please let me know if it gets solved in hyprland, as I use Sway
Cannot confirm on Hyprland 0.49.0 that clicking on waybar doesnt close after setting "control-center-exclusive-zone": false. It does close for me.
Can however confirm SwayNC not closing when clicking anywhere on the second screen
This issue seems to be resolved after updating to 0.12.0. Nice!