hy3 icon indicating copy to clipboard operation
hy3 copied to clipboard

Tab bar visual defects

Open postsolar opened this issue 10 months ago • 8 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).

https://github.com/outfoxxed/hy3/assets/120750161/f0aa2fd4-817d-474a-ad10-f9a515a15dcf

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

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.

postsolar avatar Apr 08 '24 18:04 postsolar

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).

https://github.com/outfoxxed/hy3/assets/16254623/85971168-420d-43b5-8d1a-014dad8ca74a

elegaanz avatar Apr 10 '24 08:04 elegaanz

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)

zetaPRIME avatar Apr 11 '24 01:04 zetaPRIME

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.

https://github.com/outfoxxed/hy3/assets/114362342/f5d80089-9218-4136-99ef-302eb913be08

GG2R10 avatar Apr 15 '24 17:04 GG2R10

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.

postsolar avatar Apr 17 '24 19:04 postsolar

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

Doesn't help me on Hyprland 0.40.0

Omrigan avatar May 12 '24 11:05 Omrigan

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

zoli avatar May 17 '24 06:05 zoli

Would there be anything that could help debug this?

SimonBrandner avatar May 22 '24 13:05 SimonBrandner

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

SimonBrandner avatar May 23 '24 15:05 SimonBrandner