-
Notifications
You must be signed in to change notification settings - Fork 381
Description
Windows Version
Microsoft Windoze [Version 10.0.22631.6060]
WSL Version
2.6.1.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
No response
Distro Version
Release: 22.04
Other Software
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 02 2025 12:39:01)
Repro Steps
configure windows to run 6 "multiple desktops", virtual desktops if you like.
move to desktop 3
open cmd shell (dos box)
Run wsl from cmd shell
cd to /home/your-username
type "gvim foo" and add some text [ "a", blah blah, "^ESC" :w ]
[the vim window should open in desktop 3 next to the dos box]
do not close the editor
move to desktop 1 and do some windows stuff
lock the PC and allow it to sleep overnight (I'm on a Dell laptop).
the next day, unlock the laptop (log in)
type [^Windows key][TAB] to see where the windows are on which desktop
if the bug is reproduced, the gvim windows will not be on desktop 3.
if the bug is not reproduced [yet] then lock and repeat.
Expected Behavior
VIM sessions stay where they are and I don't have to go hunting every morning.
Actual Behavior
VIM sessions have moved to a different virtual desktop, the wsl and any vscode containers stay where they are.
Diagnostic Logs
I believe this is a behaviour of X, I'll try it with some other X clients and see if it also reproduces, and if so, update here.