-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Title Bar too small after latest update #106528
Comments
@vainamov this is likely a different issue. please file it separately |
@Stanzilla is this 100% repo? |
@sbatten yup |
@Stanzilla can you run with |
@sbatten happens there as well |
pretty sure it's only happening on BigSur |
@Stanzilla thanks for the update. given the preview nature of Big Sur, I don't have a great way to verify what's going on right now. Is it the case that the expected title bar size is much larger in Big Sur than previous versions? Can you share a side by side of custom vs native titlebar in VS Code? |
@sbatten seems like the titlebar height has increased in big sur, here are the measurements for native title bar height using accessibility inspector Catalina AXWindow pos - x=0, y=23 Frame height - 22 Big Sur AXWindow pos - x=1, y=25 Frame Height - 28 |
@bpasero I went to update the title bar part but it is now in electron-sandbox and thus cannot access os props except through the native host service which is async. the title bar part would need the os version synchronously. any suggestion? |
@sbatten if you must have a property sync, it needs to be added to the vscode/src/vs/workbench/services/environment/electron-sandbox/environmentService.ts Line 21 in 6bebcbb
What exactly do you need? |
@bpasero would need os version to adjust the title bar size as mac OS big sur is using a thicker title bar |
@sbatten if you can give me exactly the node.js call you need, I can add it. Looks like |
Looks like release has the right info, https://nodejs.org/api/os.html#os_os_release |
@sbatten added |
This bug has been fixed in to the latest release of VS Code Insiders! @Stanzilla, you can help us out by confirming things are working as expected in the latest Insiders release. If things look good, please leave a comment with the text Happy Coding! |
@rebornix I believe can verify |
/verified Thank you! |
Issue Type: Bug
After updating to 1.49 I noticed that the title bar is a little bit squished now.
VS Code version: Code 1.49.0 (e790b93, 2020-09-10T17:39:53.251Z)
OS version: Darwin x64 20.1.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (56)
The text was updated successfully, but these errors were encountered: