vscode: Wayland - resizing with Super+RMB causes the window to disappear

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

  • VS Code Version:
    1.67.0-insider
    ed2619e11b68bec43b788486230b0c2afeb4672d
    x64
    
  • OS Version: Debian Testing with Gnome 42 (gnome-shell/mutter 42.0-4)

Steps to Reproduce:

  1. Launch VS Code with --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland OR --enable-features=UseOzonePlatform --ozone-platform=wayland; enabling the decorations doesn’t matter
  2. Resize the window with Super + Right Mouse Button
  3. The window disappears, without actually crashing the app

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 12
  • Comments: 21 (1 by maintainers)

Most upvoted comments

I can no longer reproduce the issue with the insiders build but can still reproduce with the normal one.

The insiders build is using electorn version 18.3.2 and the normal build is using version 17.4.7 .

As others have mentioned, I can no longer reproduce this issue with the Insider release. Seems fixed for now.

Version: 1.69.0-insider
Commit: ca8a8376b46b63db7379cbcc827c75d92bf25e14
Date: 2022-06-14T05:16:09.718Z
Electron: 18.3.2
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Linux x64 5.18.3-arch1-1

Same problem on NixOS 22.05

Version: 1.67.2
Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
Date: 2022-05-17T18:23:40.286Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Linux x64 5.15.41

There is no relevant output in the code --ozone-platform=wayland log, even with WAYLAND_DEBUG=1 (unlike @Mentalist’s report above. Maybe because I’m not testing with insiders?). Sway just logs:

To get extensive output I used WAYLAND_DEBUG=1 code --enable-features=UseOzonePlatform --ozone-platform=wayland --log=TRACE --verbose --disable-extensions, also works with code-insiders.

For me this occurs when resizing the window normally by dragging on the window edges using the left mouse button. I’m using Arch Linux, Gnome 42, code-insiders, with the same flags as above, and the Nvidia proprietary driver (510.68.02) if that matters.