Bismuth-Forge / bismuth

KDE Plasma add-on, that tiles your windows automatically and lets you manage them via keyboard, similarly to i3, Sway or dwm.
https://bismuth-forge.github.io/bismuth/
Other
2.41k stars 93 forks source link

[Bug]: wrong gap size when using floating panel #460

Open ktkv419 opened 1 year ago

ktkv419 commented 1 year ago

Summary

If set KDE panel to floating, then you get top/bottom/left/right gap size combined with panel margin between window and panel. KDE panel has its own margin sadly, so probably a workaround for screens with floating panels to ignore gap there or override panel margin?

Steps to Reproduce

  1. Install and enable Bismuth
  2. Set KDE panel to floating
  3. Apply gaps to windows in Bismuth's Appearance settings
  4. Change virtual desktops/restart KDE session

Expected behavior

Consistent gap size just like with non-floating KDE panel

Screenshots

8/8/8/8 8 gaps (KDE panel gap + top gap) Screenshot_2022-12-20_21:45:58

8/0(top)/8/8 8 gaps (only KDE panel gap) Screenshot_2022-12-20_21:56:04

8/0(top)/8/0(bottom) 8 gaps (proof that bismuth ignores KDE floating panel) Screenshot_2022-12-20_21:59:31

Bismuth version

3.1.4-1

KDE Plasma version

plasmashell 5.26.4

The platform KWin is running on

X11

Additional context

Turning off top padding works for single screens I guess, but would like to have gaps on other screens, where there are no KDE panels.