LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
8.84k stars 175 forks source link

[BUG]: Multi-monitor/Sleep Issue: Windows Get Mixed Up On Wake & Potentially Workspaces #364

Open TooSpooky opened 1 year ago

TooSpooky commented 1 year ago

Describe the bug Hello, apologies for another issue. It seems when going to sleep and waking up the windows get misplaced and put on different screens than they were on before sleep.

Issue 1: For example I keep a browser open fullscreen on my right monitor and I use fluentsearch that opens on my main monitor in the center. When going to sleep and waking up the browser can be on my main monitor and fluent search off-set on my right monitor. (I have fluentsearch set to always float)

Issue 2: NOT A KOMOREBI ISSUE I also have been using this in combo with Yasb for a topbar and when waking up from sleep it only displays 1 workspace instead of 5 each monitor. It persists until I restart komorebic itself. This might just be an issue with Yasb though and I haven’t been able to test with keybinds if the workspaces are still there as I’m not sure I have whkrd working properly. I’ll try to test that myself before you dedicate any time to it.

Programs I use:

I usually use Persistent Windows to keep windows in place in general and the issue occurs with and without it running.

I also use Little big mouse but not sure if that would conflict at all.

I also have AltSnap installed and active

I do have fancy zones or whatever the powertoys snap zone tool is called installed but I have not utilized it in this scenario or with komorebi.

To Reproduce Steps to reproduce the behavior:

  1. Leave your computer idle until it sleeps
  2. Wake it up with mouse movement

Expected behavior I wake my computer from sleep and the locations and order of windows are intact and how I left them.

Screenshots and Videos I can add some if needed.

Operating System Windows 11, latest non-insider update. Can grab exact version when next at my computer.

Thanks for your time and take care!

TooSpooky commented 1 year ago

Update on issue 2: Completely on YASB's side and visual only. Workspaces come back when actuating hotkeys using whkd.

LGUG2Z commented 1 year ago

Can you try using the command introduced here to fix the monitor indices of the different monitors? https://github.com/LGUG2Z/komorebi/issues/275

TooSpooky commented 1 year ago

Ah sweet, I missed that. I'll have to try that one out once I get my head around it. Sounds like it might be exactly what I need. I also use little big mouse so I'd assume that might change the sizes I have to input.

TooSpooky commented 1 year ago

Hey, I hate to ask but could you explain how I determine the size and index I want to use, etc?

For example I have one 4k (3840x2160p) 28 inch monitor to the left and one 1440p (2560x1440p) 32inch on my right.