Skip to content
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

Mojave dark mode adds black border around app for light themes #62414

Closed
miguelsolorio opened this issue Nov 1, 2018 · 4 comments
Closed

Mojave dark mode adds black border around app for light themes #62414

miguelsolorio opened this issue Nov 1, 2018 · 4 comments
Assignees
Labels
macos Issues with VS Code on MAC/OS X mojave VS Code on OS X Mojave issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@miguelsolorio
Copy link
Contributor

Issue Type: Bug

Related to #54838

When dark mode is enabled, a black border is added around the app, which looks great in out dark theme:
image

But in our light theme this looks bad:
image

It would be great to disable this when on light themes.

VS Code version: Code - Insiders 1.29.0-insider (d7ac6e8, 2018-11-01T06:11:43.390Z)
OS version: Darwin x64 18.2.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 1, 2, 2
Memory (System) 16.00GB (1.74GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
gitlens eam 8.5.6
vscode-pull-request-github Git 0.2.2
vscode-colorize kam 0.7.2
material-icon-theme PKi 3.6.0

(3 theme extensions excluded)

@vscodebot vscodebot bot added the insiders label Nov 1, 2018
@octref octref added the mojave VS Code on OS X Mojave issues label Nov 9, 2018
@octref
Copy link
Contributor

octref commented Nov 9, 2018

When it's not in dark mode, it's the dark theme that looks bad:

screen shot 2018-11-09 at 9 21 59 am

@bpasero
Copy link
Member

bpasero commented Nov 18, 2018

@MarshallOfSound any ideas?

@bpasero bpasero added upstream Issue identified as 'upstream' component related (exists outside of VS Code) macos Issues with VS Code on MAC/OS X labels Nov 18, 2018
@MarshallOfSound
Copy link
Contributor

@bpasero My understanding of these issues so far is that this is "intended behavior" on Mojave. macOS adds these color highlights to the window to match the theme under the assumption that the apps theme matches the OS theme. (This assumption is based on the NSRequiresAquaSystemAppearance key)

If you're using a VS Code light theme with Mojave dark mode this is just going to happen unless Apple change there mind on enforcing this weird window border or someone finds a hidden window style for turning it off in native land.

@bpasero
Copy link
Member

bpasero commented Nov 18, 2018

@MarshallOfSound yeah that is what I am thinking as well. Closing as designed by Apple.

@bpasero bpasero closed this as completed Nov 18, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
macos Issues with VS Code on MAC/OS X mojave VS Code on OS X Mojave issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants