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

[Problem/Bug]: system context menu doesn't respect dark mode #4761

Closed
pushkin- opened this issue Aug 21, 2024 · 3 comments
Closed

[Problem/Bug]: system context menu doesn't respect dark mode #4761

pushkin- opened this issue Aug 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@pushkin-
Copy link

What happened?

The system context menu isn't dark when my system is in Dark Mode:
image

This works in my Electron app.

Setting _webView.CoreWebView2.Profile.PreferredColorScheme = CoreWebView2PreferredColorScheme.Dark; didn't help

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

127.0.2651.105

SDK Version

1.0.2535.41

Framework

Winforms

Operating System

Windows 11

OS Version

22631.4037

Repro steps

launch app and right click on titlebar when in dark mode

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@pushkin- pushkin- added the bug Something isn't working label Aug 21, 2024
@Danielx64
Copy link

Is this winform or wpf? If so, that's not a webview2 issue.

@pushkin-
Copy link
Author

@Danielx64 yeah winforms

@pushkin-
Copy link
Author

ok yeah, not sure why I reported here. Not a WebView2 issue. Can repro in Visual Studio. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants