taffybar icon indicating copy to clipboard operation
taffybar copied to clipboard

Struct size incorrect when doing HiDPi through GTK3 env var

Open dongcarl opened this issue 6 years ago • 4 comments

Previous discussion: https://github.com/travitch/taffybar/issues/179#issuecomment-377809032

  1. Set GDK_SCALE=2 per https://wiki.archlinux.org/index.php/HiDPI#GDK_3_.28GTK.2B_3.29
  2. Start Xmonad with Taffybar (all default configs)
  3. Start a terminal window
  4. Notice that Taffybar scaled properly, but is obscured

dongcarl avatar Apr 02 '18 01:04 dongcarl

This sort of thing is actually going to be handled by gtk-strut see #268, so I think this will actually best be handled there.

colonelpanic8 avatar Apr 07 '18 03:04 colonelpanic8

I am also suffering this problem - taffybar is cut in half on my end.

Abastro avatar Feb 02 '22 14:02 Abastro

Right, gtk-strut just doesn't support this type of scaling. It would need to account for it in it's code

colonelpanic8 avatar Feb 02 '22 20:02 colonelpanic8

Oh actually it looks like someone added a pr.to fix it ostensibly. Not sure if that be soon of gtk strut has been released though

colonelpanic8 avatar Feb 02 '22 20:02 colonelpanic8