dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.
MIT License
857
stars
106
forks
source link
Incorrect handling of Mod-Tab after tag switch #72
Looks like there is a bug with last window detection. If I switch to different tag (with different set of windows) then the "last used window" will be the one from that different tag. And if I then issue Mod-Tab then dvtm will switch to that window (from non-current tag) while still being on my current tag. This results in corrupted title bars.
Bug is not critical as such state can easily be reverted by issuing Mod-Tab again and then switching to different tag and back, but it still exists.
How to reproduce:
Launch dvtm
Open additional window on tag1: Mod-c
Switch to tag2: Mod-v-2
Create new window there: Mod-c
Switch back to previous tag: Mod-v-Tab
Try to switch to last window: Mod-Tab
Observe title bar from window1 from tag2 is displayed while everything else is displayed from tag1.
Press Mod-Tab again.
Observe left window is activated (with correct title bar) but right window's title bar is overwritten so that is number is not visible.
Actually I am not sure which would be an expected behaviour in such situation. Probably remember last window on per-tag basis, but then what to do with multi-tag windows and with multi-tag display mode (Mod-0)?
Looks like there is a bug with last window detection. If I switch to different tag (with different set of windows) then the "last used window" will be the one from that different tag. And if I then issue
Mod-Tab
thendvtm
will switch to that window (from non-current tag) while still being on my current tag. This results in corrupted title bars. Bug is not critical as such state can easily be reverted by issuingMod-Tab
again and then switching to different tag and back, but it still exists.How to reproduce:
dvtm
Mod-c
Mod-v-2
Mod-c
Mod-v-Tab
Mod-Tab
Mod-Tab
again.