vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Window opens minimized with Wayland enabled

Open gusalecar opened this issue 9 months ago • 1 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.98.0
  • OS Version: Fedora Workstation 41

Steps to Reproduce:

  1. Open terminal and run code
  2. Maximize window and close
  3. Run code --ozone-platform-hint=auto in the terminal

gusalecar avatar Mar 05 '25 20:03 gusalecar

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.

YanceyChiew avatar Mar 07 '25 19:03 YanceyChiew

I'm using the code oss from Arch Linux repo. I meet this issue too.

Bryan2333 avatar Mar 10 '25 17:03 Bryan2333

The same happens in Ubuntu 24.04.

Marco-Mendivil-Carboni avatar Mar 13 '25 08:03 Marco-Mendivil-Carboni

I still encounter this issue in archlinux now, does anyone have a workaround?

cheanus avatar Apr 07 '25 14:04 cheanus

If you're using KDE Desktop, you can try to use kwin windows rule to fix this problem.

Image

Bryan2333 avatar Apr 07 '25 15:04 Bryan2333

It is a runtime bug and is addressed via https://github.com/electron/electron/pull/46450. We should have the fix in vscode soon.

deepak1556 avatar Apr 07 '25 15:04 deepak1556

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!