microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.56k stars 29.01k forks source link

Clicking towards the edges of the window minimizes VSCode #230908

Open Bernard-Murphy opened 1 week ago

Bernard-Murphy commented 1 week ago

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

Steps to Reproduce:

  1. Open VSCode or VSCode Insiders with all extensions disabled
  2. Click towards the edges of the screen

(Note: Extensions are not disabled in the .gif), though the issue is identical with extensions disabled and on VSCode Insiders)

Image

Edit: Additional, possibly related issues:

  1. Opening certain folders causes VSCode to close
  2. Pressing CTRL + O causes VSCode to close

If there are any logs or anything that I can look at and provide, I would be happy to share. Thank you for all your help.

Image

Bernard-Murphy commented 1 week ago

Temporary solution for the main problem: Switching to Xorg

https://askubuntu.com/questions/961304/how-do-you-switch-from-wayland-back-to-xorg-in-ubuntu-17-10

Switching from Xorg back to Wayland results in the issue no longer appearing. So my main issue is solved.

The other (possibly unrelated) issue still remains. I can open a different ticket if necessary.