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

Sub menu arrows are not visible when using a light theme #67918

Closed
dmtweigt opened this issue Feb 5, 2019 · 4 comments
Closed

Sub menu arrows are not visible when using a light theme #67918

dmtweigt opened this issue Feb 5, 2019 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member verified Verification succeeded
Milestone

Comments

@dmtweigt
Copy link

dmtweigt commented Feb 5, 2019

Issue Type: Bug

  1. Start VS Code
  2. Go to File > Preferences > Color Theme
  3. Pick a light theme
  4. Open the File menu (or any other with sub menus)

Observed: Preferences and Open Recent menu items have invisible arrows, unless the mouse is hovered over them
Expected: Preferences and Open Recent menu items have arrows that are always visible

dark theme light theme
dark2 light2

VS Code version: Code - Insiders 1.31.0-insider (b313db6, 2019-02-05T10:16:27.989Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz (8 x 3500)
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: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.93GB (7.96GB free)
Process Argv
Screen Reader no
VM 0%
Extensions: none
@vscodebot
Copy link

vscodebot bot commented Feb 5, 2019

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

@bpasero
Copy link
Member

bpasero commented Feb 5, 2019

I can reproduce:

image

@sbatten @misolori didn't we change the arrow icons in this release to be smaller?

@bpasero bpasero added regression Something that used to work is now broken workbench-menu confirmed Issue has been confirmed by VS Code Team member labels Feb 5, 2019
@sbatten
Copy link
Member

sbatten commented Feb 5, 2019

@bpasero this actually reproduces in stable as well, but not in sources so still investigating

@sbatten
Copy link
Member

sbatten commented Feb 5, 2019

got it. as a workaround, just reload the VS Code window after switching to the default light themes.

When the menu gets styled at launch, the styler picks either the theme's menu fg color or falls back to the default fg color. since the built-in dark theme has a menu fg color, this is what is set. Later when you switch to the light theme, there is no menu fg color so it gets set to null because menu fg defaults to null on light themes.

@sbatten sbatten closed this as completed in 6063e04 Feb 5, 2019
@bpasero bpasero added this to the February 2019 milestone Feb 6, 2019
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug and removed regression Something that used to work is now broken labels Feb 6, 2019
@mjbvz mjbvz added the verified Verification succeeded label Feb 25, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants