People,
I am really loving Sway but there are glitches / artifacts / odd things happening which I would like to debug - this one is where, in stacked mode, a workspace accumulates grey, non-functional lines at the top of the screen. In this specific case they were all labelled Vim Browser started from a Kitty terminal - I exited all instances of vimb in all workspaces but these grey lines persisted. I have seen it for other apps as well and they don't disappear until I exit Sway (of course) . .
See here:
http://pricom.com.au/2021-10-19_00-54-25_SwayGhosts.png
Anyone have an idea of what is going on?
Thanks,
Phil.
Hi Phillip, this seems as an issue/misunderstanding about where a new container appears.
Basically, the grey lines indicate nested stacked containers, and they try to indicate that with the label: `S[S[S[x y z]]]` indicates that that line belong to a stacked container that holds *single* child container `S[S[x y z]]` (note one less `S[]`). The last grey line (`S[x y z]`) is the actual stacked container that holds all your stuff (`x y z`).
You should be able to get rid of these by focusing the inner-most stacking container and try to move it around; that usually works for me.
I do not have a sufficient understanding of the container tree manipulation to advice any further, but maybe the i3 docs on this topic [1] could shed some further light on it.
[1]: https://i3wm.org/docs/userguide.html#_tree
Hope this helps! -- Jan Staněk Software Engineer, Red Hat jstanek@redhat.com irc: jstanek
Jan,
On 2021-10-19 20:25, Jan Staněk wrote:
Hi Phillip, this seems as an issue/misunderstanding about where a new container appears.
Basically, the grey lines indicate nested stacked containers, and they try to indicate that with the label: `S[S[S[x y z]]]` indicates that that line belong to a stacked container that holds *single* child container `S[S[x y z]]` (note one less `S[]`). The last grey line (`S[x y z]`) is the actual stacked container that holds all your stuff (`x y z`).
Right . .
You should be able to get rid of these by focusing the inner-most stacking container and try to move it around; that usually works for me.
No - I can't select it or the two above - I can select the bar immediately below it and it turns blue after selection, but clicking on any of the three grey bars does nothing . .
I do not have a sufficient understanding of the container tree manipulation to advice any further, but maybe the i3 docs on this topic [1] could shed some further light on it.
Hmm . . I would have thought there is not much relationship to code between between the X and the Sway environments?
Hope this helps!
Thanks!
Phil.
Hello again,
Philip Rhoades phil@pricom.com.au writes:
Hmm . . I would have thought there is not much relationship to code between between the X and the Sway environments?
Not on a code level, but AFAIK sway tries to mimic i3 behaviour as close as possible. The conceptual tree model and behaviour should be the same.
No - I can't select it or the two above - I can select the bar immediately below it and it turns blue after selection, but clicking on any of the three grey bars does nothing . .
I was thinking more along the lines about binding something to "focus parent" and "move left|right|up|down" (see sway(5)). I'm not sure on how effectively you can manipulate non-floating containers with a mouse (beside selection). -- Jan Staněk Software Engineer, Red Hat jstanek@redhat.com irc: jstanek
Jan,
Thanks for the continuing feedback!
On 2021-10-19 22:15, Jan Staněk wrote:
Hello again,
Philip Rhoades phil@pricom.com.au writes:
Hmm . . I would have thought there is not much relationship to code between between the X and the Sway environments?
Not on a code level, but AFAIK sway tries to mimic i3 behaviour as close as possible. The conceptual tree model and behaviour should be the same.
Right.
No - I can't select it or the two above - I can select the bar immediately below it and it turns blue after selection, but clicking on any of the three grey bars does nothing . .
I was thinking more along the lines about binding something to "focus parent" and "move left|right|up|down" (see sway(5)). I'm not sure on how effectively you can manipulate non-floating containers with a mouse (beside selection).
Hmm . . there is a lot in that man page - I'm not sure how that helps . .
Thanks,
Phil.