Window opens minimized with Wayland enabled
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.98.0
- OS Version: Fedora Workstation 41
Steps to Reproduce:
- Open terminal and run
code - Maximize window and close
- Run
code --ozone-platform-hint=autoin the terminal
I noticed that this behavior was accompanied by the last opened file not being remembered, but sometimes opening a new window from the desktop context menu action can remember the last opened file (very rare, I didn't get the pattern) .
Then I noticed that unchecking the Show Welcome Page option at the bottom of the Welcome Page that appears in the new window solved all the problems.
I'm using the code oss from Arch Linux repo. I meet this issue too.
The same happens in Ubuntu 24.04.
I still encounter this issue in archlinux now, does anyone have a workaround?
If you're using KDE Desktop, you can try to use kwin windows rule to fix this problem.
It is a runtime bug and is addressed via https://github.com/electron/electron/pull/46450. We should have the fix in vscode soon.
This bug has been fixed in the latest release of VS Code Insiders!
@gusalecar, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 049c89eefbc56491c9ba5ff8e8cfa1a87e979aab of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!