outfoxxed/hy3

Tab bar visual defects

Closed this issue · 11 comments

When I switch to a workspace with tabbed nodes, the tabs strip gets visual defects.
See the video attached, specifically the magenta color tab bar strip in the top-left corner when on workspace 7.
On this recording, the defects disappear themselves after a couple seconds, but when I'm not recording they actually do not disappear at all unless I do something on that workspace (e.g. switch the tab, or focus another node, etc).

recording.mp4

I've been having it since ~0.37 I think. Currently I'm on Hyprland master (63e3668529f6c06478ec288723d0ba46374c4bc5) and Hy3 master (0177c6f).

This seems to persist with no hy3 config and (almost) no hyprland config, as well as no other plugins.

Seems to be that what the defects look like depends on the animations in place. Disabling animations doesn't prevent them though.

I have the same (or at least very similar) issue. I am currently on hyprland 0.38.1 and the matching hy3 version, and it didn't happen with previous versions. Also, I'm running Linux 6.8.4 with Nvidia drivers (the nvidia pacakage of ArchLinux on the 550.67-5 version).

hy3.mp4

Having the same issue. hyprland 0.38.1, RX 5700, kernel 6.8.4-zen1-1-zen (as reported by neofetch); corruption only goes away when something forces the tab bar to update (changing tabs, a window title changing)

Same issue. In my case it just crashes and unloads the plugin using hyprctl plugin and the AUR package hy3-git in Arch. When i use it with hyprpm it literally freezes my PC. It's curious because when i have swww with a GIF as background, the bars doesn't has the weird glitches but shows up like at low FPS. I guess it's because, as the others are saying, the frame change of the GIF forces the tabs to update.

2024-04-15.12-24-31.mp4

As a quick workaround, I noticed it doesn't happen (or is unnoticeable) when the workspace switching animation style is set to fade

animations {
  bezier = easeInOutExpo, 0.87, 0, 0.13, 1
  animation = workspaces, 1, 10, easeInOutExpo, fade
}

There are possibly some more animations configurations which can alleviate it, I haven't tried them all.

Also it seems that as of Hyprland 0.39, just disabling animations (or specifically workspace animations) altogether works too.

bezier = easeInOutExpo, 0.87, 0, 0.13, 1
animation = workspaces, 1, 10, easeInOutExpo, fade

Doesn't help me on Hyprland 0.40.0

zoli commented

Also having this problem I'm not sure it's rooted in Hyprland itself or the hy3 plugin.

Would there be anything that could help debug this?

To quote from Matrix on why this doesn't work:

the problem is tab bars are not damaged when the window or viewport moves instead of the bar itself

Seems to still happen if using fade animations.

Damn, forgot to cover that case... @zetaPRIME, could you please open a new issue for this?

@zetaPRIME, hopefully this fixes the issue: #119