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

Hyprland border flickers when closing a window with closeWindowDelay #317

Closed
musjj opened this issue Feb 22, 2024 · 3 comments
Closed

Hyprland border flickers when closing a window with closeWindowDelay #317

musjj opened this issue Feb 22, 2024 · 3 comments

Comments

@musjj
Copy link
Contributor

musjj commented Feb 22, 2024

It seems that when a window is closed and closeWindowDelay is set, the border of the active window in Hyprland flickers for a bit.

recording_fixed.mp4

You can observe it when clicking away from the quicksettings popup window in your dotfiles. Interestingly, toggling the popup via the systemindicator button on the bar doesn't have this effect.

I first thought that the focus was being stolen by something temporarily. So I tried to listen to the activewindow event from the Hyprland socket, but it looks like that the active window didn't even change during the transition.

@Aylur
Copy link
Owner

Aylur commented Feb 22, 2024

It is most probably a Hyprland bug from switching focus from layer to client

@musjj
Copy link
Contributor Author

musjj commented Feb 22, 2024

Yeah, might be something Hyprland-specific. Another thing I'm noticing is that it depends on your mouse click speed. If you tap really fast, the effect doesn't happen.

@musjj
Copy link
Contributor Author

musjj commented Jun 28, 2024

I recently tried https://github.com/ErikReider/SwayNotificationCenter and it has a functional click-away behavior that doesn't have this problem. I wonder how they implemented it.

@Aylur Aylur mentioned this issue Sep 25, 2024
Merged
@Aylur Aylur closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants