Skip to content

Native Windows title bar does not respect dark mode setting #84453

Description

@MolusMS

Issue Type: Bug

I have the dark theme on VSCode, if I set the window.titleBarStyle to native, the title bar does not pick up the dark color.

VS Code version: Code - Insiders 1.41.0-insider (27cd33d, 2019-11-08T19:12:35.358Z)
OS version: Windows_NT x64 10.0.19514

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 63.81GB (51.88GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
vscode-nmake-tools Mic 2.0.191107007
cpptools ms- 0.26.1
powershell-preview ms- 2019.11.0

Activity

  1. vscodebot commented on Nov 11, 2019

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. sbatten commented on Nov 11, 2019

    @sbatten
    Member

    Robo (@deepak1556), this is really an electron feature request

  3. deepak1556 commented on Nov 12, 2019

    @deepak1556
    Collaborator

    SteVen Batten (@sbatten) electron fixed this in 7 and also exposed a new module to allow apps customize it electron/electron#19656

  4. deepak1556 commented on Nov 14, 2019

    @deepak1556
    Collaborator

    MolusMS can you try the exploration builds from #84214 (comment) to make sure this is fixed with electron 7. Thanks!

  5. added
    electron
    info-needed
    on Nov 14, 2019
  6. vscodebot commented on Nov 25, 2019

    @vscodebot

    This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

    Happy Coding!

  7. deepak1556 commented on Nov 27, 2019

    @deepak1556
    Collaborator

    Verified that this is not fixed in electron 7, we would have to listen to OS events using the above module and set the app color.

  8. added
    confirmed
    and removed
    info-needed
    on Nov 27, 2019
  9. 40 remaining items

  10. removed
    verified
    on Mar 1, 2022
  11. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Mar 10, 2022
  12. rzhao271 commented on Mar 21, 2022

    @rzhao271
    Collaborator

    Verification steps:
    See #84453 (comment).

  13. be9em0t commented on Apr 18, 2022

    @be9em0t

    From my point of view, native titlebar does respect theme color EVENTUALLY.

    During VS Code launch first empty un-themed window appears (looks like un-themed (basic theme) windows 10, light blue titlebar which really cuts your eyes when in dark mode ).
    Then, once all components finish loading, the titlebar is repainted with the correct theme.

    Short clip

    image

  14. rzhao271 commented on Apr 18, 2022

    @rzhao271
    Collaborator

    That's a separate issue: #146683

  15. locked and limited conversation to collaborators on Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

chromiumconfirmedelectronelectron-16-updatefeature-requestinsiders-releasedtitlebarupstreamupstream-issue-fixedupstream-issue-linkedverification-neededverifiedwindows

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions