mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Switching Windows virtual desktops breaks layout #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @naoey on GitHub (Aug 19, 2021).
Originally assigned to: @LGUG2Z on GitHub.
Tiling works perfectly on starting komorebi up but windows get smaller and smaller each time I switch to and from other virtual desktops. In some cases its just one window that's affected in some cases its all the windows on that virtual desktop. I haven't been able to identify a pattern to it so far.
Unsure if its once again related to me having a multi-monitor configuration. I use:
This is occurring both when using the pre-built release as well as when building it myself on
98f731b.@LGUG2Z commented on GitHub (Aug 19, 2021):
@naoey Can you confirm that this is happening when switching between the native Windows Virtual Desktops and not
komorebi's implementation of workspaces?If this is happening with
komorebi's implementation of workspaces it is definitely a bug and it would help if you could record a video of this happening so that I can try to accurately reproduce it.komorebigenerally doesn't aim for compatibility with Windows Virtual Desktops, because the public API is extremely lacking. In fact, it is the lack of stability around advanced programmatic access to Windows Virtual Desktops that led me to create a completely independent workspaces implementation forkomorebi.Nevertheless, I would be tempted to at least try to fix this specific bug, because the fix would help to ensure that while
komorebidoesn't provide compatibility and interoperability with Windows Virtual Desktops, it also does not permit Windows Virtual Desktops to introduce weird/undefined/breaking behaviour into thekomorebiprocess.@naoey commented on GitHub (Aug 19, 2021):
Yes, sorry if that wasn't clear. I did mean this is occurring with Windows Virtual Desktops.
That's completely understandable. I'm somewhat accustomed to using them as the Windows equivalent of Spaces on macOS so even if not feasible to get the same level of compatibility as yabai provides, just having it not disrupt the layout would be great!
@LGUG2Z commented on GitHub (Aug 19, 2021):
@naoey I have made some changes that limit the
komorebilisteners to the Windows Virtual Desktop that the process was started from. In practice, this means that you can have a single Virtual Desktop which runskomorebiwithkomorebi's implementation of workspaces, and other Virtual Desktops that know nothing aboutkomorebiand whichkomorebiknows nothing about. 👌@es183923 commented on GitHub (Aug 2, 2022):
Looks like this still is happening when switching between windows' virtual desktops when building from master
a6d46dbf45.Komorebi seems to forget that windows were minimized, and results in it allocating space for minimized windows, which it shouldn't.