Focusing a floating window causes smart gaps to appear
messier102 opened this issue · 1 comments
messier102 commented
I'm submitting a…
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
Current Behavior
Given smart_gaps
set to inverse_outer
, when I have a container on a workspace, no gaps are visible. If I then switch focus to a floating window (e.g. open my scratchpad), the gaps become visible:
2022-04-30_16-41-53.mp4
This happens even if the floating window is itself a container:
Expected Behavior
Outer gaps shouldn't appear when switching to a floating window if smart_gaps
is set to inverse_outer
.
Reproduction Instructions
- Set
smart_gaps
toinverse_outer
in the configuration, andgaps outer
to a value > 0. - Open two windows in a H[A B] layout (or any other tiled layout with at least one container such that there are no apparent outer gaps).
- Open another window and switch it to floating mode.
- Toggle focus between floating and tiled to see the effect.
Environment
Output of i3 --moreversion 2>&-
:
Binary i3 version: 4.20.1 (2021-11-03) © 2009 Michael Stapelberg and contributors Running i3 version: 4.20.1 (2021-11-03) (pid 1484) Loaded i3 config: /home/yuna/.config/i3/config (main) (last modified: Sat 30 Apr 2022 04:53:38 PM +07, 197 seconds ago) The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3
Config file
https://pastebin.com/ra39qs1U
- Linux Distribution & Version: EndeavourOS 22.1 (fully updated) - Are you using a compositor (e.g., xcompmgr or compton): yes, picom
Deleted user commented
Apologies, seems like I somehow managed to get my configuration into a half-broken state that caused this behavior.