hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
573 stars 60 forks source link

Hyprbars bar_precedence_over_border = true causes border flickering/lack of focus #222

Open Candyhands opened 2 months ago

Candyhands commented 2 months ago

Already reported ? *

Regression?

No

System Info and Version

System/Version info ```sh L) # hyprbars-button = color, size, on-click #font bar_text_font = Noto Sans col.text = rgb(000000) bar_color = rgb(c0c0c0) bar_part_of_window = true bar_precedence_over_border = true } } > ```

Description

When bar_precedence_over_border = true in Hyprbars and a border is set, quite often the border starts to flicker like it's trying to find focus. It is usually present in two windows, with the active window and most recent inactive window flickering between the active and inactive border color at the top.

How to reproduce

Enable Hyprbars plugin, set 'bar_precedence_over_border = true', and have a border for the windows set in hyprland.conf

Crash reports, logs, images, videos

This video shows Firefox as the active window, and Thunar as the most recent inactive window. The flickering is present in these two windows

https://github.com/user-attachments/assets/3b92289b-9eb7-4df8-b939-a70afda3259a

vaxerski commented 2 months ago

wrong repo

Candyhands commented 2 months ago

wrong repo

Crap, I could have sworn I put it in the plugin repo. My bad.