microsoft / vscode

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

Crashes when resizing window (Wayland) #221680

Open nstasd opened 4 months ago

nstasd commented 4 months ago

Type: Bug

Seems to crash randomly but frequently when resizing the window using i.e. when using Winkey+ Left or right arrow). Fedora 40 with GNOME on Wayland.

VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:08:12.169Z) OS version: Linux x64 6.9.8-200.fc40.x86_64 Modes:

System Info |Item|Value| |---|---| |CPUs|13th Gen Intel(R) Core(TM) i9-13900H (20 x 2861)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|0, 0, 0| |Memory (System)|30.96GB (26.78GB free)| |Process Argv|--crash-reporter-id 2d78f16f-7d47-4218-982b-d710059751a4| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|wayland|
Extensions (9) Extension|Author (truncated)|Version ---|---|--- gitignore|cod|0.9.0 go|gol|0.41.4 vscode-docker|ms-|1.29.1 remote-containers|ms-|0.375.1 remote-ssh|ms-|0.112.0 remote-ssh-edit|ms-|0.86.0 makefile-tools|ms-|0.9.10 remote-explorer|ms-|0.4.3 shellcheck|tim|0.37.1
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 chatpanelc:31048052 dsvsc021:30996838 945dj816:31013170 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 legacy_priority:31094926 pythonrstrctxt:31093869 ```
JamalOverdrive commented 4 months ago

Ensure your application is fully compatible with GNOME on Wayland. Some APIs and behaviors differ between X11 and Wayland, which might cause crashes.

JamalOverdrive commented 4 months ago

I could try to fix the code overnight, I will send the new rewritten code tomorrow