You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Menus don't always display correctly in Ubuntu guest in VMware with GPU acceleration disabled #156719
bugIssue identified by VS Code Team member as probable bugchromiumIssues and items related to ChromiumgpuIssues concerning GPU related itemsinfo-neededIssue requires more information from posterlinuxIssues with VS Code on LinuxtitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)virtual-machineIssues related to virtualbox, parallels etc
I'm using an Ubuntu 22.04 guest in VMware with GPU acceleration disabled. Sometimes when I open a menu dropdown, the options don't display until I move my mouse over them. See the attached webm file for an example.
I originally reported this problem at #154705 (comment). Disabling GPU acceleration works around the different problem described in that issue.
VS Code version: Code 1.69.2 (3b889b0, 2022-07-18T16:14:10.636Z)
OS version: Linux x64 5.15.0-43-generic
Restricted Mode: Yes
No, I can't reproduce this menu problem in Fedora 36 using either v1.69.2 stable or the v1.70 exploration build provided at #154705 (comment).
Robo (@deepak1556) Yes the title bar setting was set to native, the default. I've changed it to custom and this problem doesn't happen there. Thanks very much! That's a totally decent workaround until this problem is properly fixed. (Actually the custom menus look better to me so I'll probably keep that setting permanently.)
Yes, I'm still getting the menu display problem with VS Code v1.74 on Ubuntu 22.04 with the native setting. Also recall from the discussion in #154705 that GPU acceleration in Chromium is so broken on Linux on VMware that the expected "fix" was to disable it permanently within Chromium. It looks like the Chromium team did that and that change has made its way into VS Code, so --disable-gpu or not is irrelevant.
Based on your comment from #154705 (comment), the problem only occurs when hardware acceleration is disabled. Given chromium disables hardware acceleration for VMWare and this is an issue with the native titlebar which we don't control, marking as out-of-scope. Please switch to use custom titlebar as workaround "window.titleBarStyle": "custom".
I understand you can't fix the problem in Chromium, however native is the default setting in VS Code which means that the menus are broken by default. The default should be custom when appropriate.
bugIssue identified by VS Code Team member as probable bugchromiumIssues and items related to ChromiumgpuIssues concerning GPU related itemsinfo-neededIssue requires more information from posterlinuxIssues with VS Code on LinuxtitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)virtual-machineIssues related to virtualbox, parallels etc
Activity
deepak1556 commentedon Aug 1, 2022
Looks like you are using native titlebar ? Can you try with custom titlebar
"window.titleBarStyle": "custom"and see if the issue persists ?jeremyn commentedon Aug 1, 2022
Leandro Hermida (@hermidalc) asked at #154705 (comment):
No, I can't reproduce this menu problem in Fedora 36 using either v1.69.2 stable or the v1.70 exploration build provided at #154705 (comment).
Robo (@deepak1556) Yes the title bar setting was set to
native, the default. I've changed it tocustomand this problem doesn't happen there. Thanks very much! That's a totally decent workaround until this problem is properly fixed. (Actually thecustommenus look better to me so I'll probably keep that setting permanently.)deepak1556 commentedon Dec 13, 2022
Does this issue persist with latest stable
1.74? If so, can you try launching with--disable-gpu.jeremyn commentedon Dec 13, 2022
Yes, I'm still getting the menu display problem with VS Code v1.74 on Ubuntu 22.04 with the
nativesetting. Also recall from the discussion in #154705 that GPU acceleration in Chromium is so broken on Linux on VMware that the expected "fix" was to disable it permanently within Chromium. It looks like the Chromium team did that and that change has made its way into VS Code, so--disable-gpuor not is irrelevant.deepak1556 commentedon Dec 14, 2022
Based on your comment from #154705 (comment), the problem only occurs when hardware acceleration is disabled. Given chromium disables hardware acceleration for VMWare and this is an issue with the native titlebar which we don't control, marking as
out-of-scope. Please switch to use custom titlebar as workaround"window.titleBarStyle": "custom".jeremyn commentedon Dec 14, 2022
I understand you can't fix the problem in Chromium, however
nativeis the default setting in VS Code which means that the menus are broken by default. The default should becustomwhen appropriate.