Second windowed open becomes Master with "rtall" layout
maetthew opened this issue Β· comments
Hi,
Thanks for this project. I noticed something peculiar with the "rtall" layout in that the second opened window overtakes the Master window position. Moving the one single window I had opened be put in the "tall" stack. Any subsequent windows opened opens as expected.
I'll see if I can manage to solve this, but if not I thought I'd make an issue here.
@darkelectron, can you check this out as well?
hi @maetthew
Thanks for this project. I noticed something peculiar with the "rtall"
layout in that the second opened window overtakes the Master window
position. Moving the one single window I had opened be put in the "tall"
stack. Any subsequent windows opened opens as expected.
i think i've been able to reproduce the bug you mention here. can you confirm that? π
@phenax, are you ok if i work on that? π
a workaround, not final solution by any means, is to manually tile the second window to the left or to the bottom π€
@a2n-s Hi, I'm not using bspwm anymore so unfortunately can't check.
I'm not using bspwm anymore so unfortunately can't check.
no worries π
that is still a bug that needs to be addressed πͺ
if you happen to use bspwm
again before the issue is closed, feel free to share thoughts here π
Can I piggyback on this issue? I have another small issue with rtall
specifically, it does not do the horizontal split initially.
If I go to a desktop where I haven't applied any layout yet, and then apply rtall, it only resizes columns and does not apply any horizontal split. However, if I do another layout first, e.g. tall
, that will correctly do columns and rows split and resize, and then I can do rtall
and get the expected layout.
hi @MikaelElkiaer π
i'm not sure i am able to reproduce the issue you mention π€
i open a bunch of windows on workspace 3 with the default "stair case" layout and then run ./build/bin/bsp-layout set rtall 3
from there and the layout applies correctly, with all the splits to the left and the master to the right!
suggestions
please share the following
- the version of
bsp-layout
- how you installed it
- how you run it
- steps to reproduce and even a video would be amazing
i do not have that much time to work on a fix,
but hopefully we'll find the bugs π πͺ π
@amtoine Thanks for getting back to me, here is some more info:
0.0.10
- Installed via AUR package
bsp-layout
- I run it via rofi:
bsp-layout layouts | rofi -dmenu | xargs bsp-layout set
- I only experience it after a reboot, and for the first desktop where I try to switch layout to
rtall
. This is my usual flow for when it happens:- Reboot OS and start bspwm with no desktops/windows
- Open 3 windows on desktop 1
- Use rofi script and choose
rtall
: windows are not split as expected - only vertically, no horizontal split for non-master column - Use rofi script to choose
tall
: windows are now split both horizontally and vertically, with master window on the left - Use rofi script to choose
rtall
: windows are now split as expected, with master window on the right - Go to desktop 2, open 3 windows, use rofi script to choose
rtall
: windows are split as expected
hey @MikaelElkiaer
@amtoine Thanks for getting back to me, here is some more info:
that's the purpose of me being here π π
The steps to reproduce
i did follow all your steps with both the 0.0.10-1
version from the AUR and the locally built git
version from the repo
and i'm not able to reproduce the behaviour π€
i did reboot twice, did nothing but open 3 windows in desktop 1, ran your command with rtall
and the windows are split horizontally the first time π no need to go through tall
and then rtall
again...
PS: i like your simple rofi
command, very handy π
@amtoine Thanks for trying it out. There seems to be some timing involved as well, and I cannot reproduce it consistently. I will look into it at a later stage - only bothers me after a reboot.
@amtoine Thanks for trying it out. There seems to be some timing involved as well, and I cannot reproduce it consistently. I will look into it at a later stage - only bothers me after a reboot.
feel free to give us updates on this if you find something π