-
Notifications
You must be signed in to change notification settings - Fork 1k
Dark Mode issues Fixes #13474
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
base: main
Are you sure you want to change the base?
Dark Mode issues Fixes #13474
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13474 +/- ##
===================================================
- Coverage 76.60173% 76.57709% -0.02465%
===================================================
Files 3253 3253
Lines 640996 641244 +248
Branches 47439 47483 +44
===================================================
+ Hits 491014 491046 +32
- Misses 146330 146539 +209
- Partials 3652 3659 +7
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Hey @memoarfaa, thanks for this PR, but let's try to coordinate the efforts here, so we're not doing redundant work. We'll be addressing for Preview 5 (maybe early 6) the PRs which I did, since they had been planned and championed. We only have Monday 19th to complete testing, reviews and merge them, so the Preview 5 ship for any pivoting in approaches has sailed. For Preview 6, I'd love to re-discuss approaches, though, so, let's keep the discussion rolling for improvements for the Preview 6 time frame! PS: |
Ok I will do
I understand that for Preview 5, only the already planned/championed PRs can be considered, and my changes won’t be merged at this stage.
For Preview 6, I’m happy to continue iterating on these improvements and would appreciate any feedback or direction from the team on priorities or preferred approaches.
About Read-Only TextBox Background Coloring in Dark Mode I don't understand what you mean by
If you mean the Win32 default theme Color the answer is no because it handled by WM_CTLCOLOR XXXX
in RichTextBox Class
Recording.2025-05-19.095641.mp4 |
…nd cleanup to prevent GDI leaks and add Dearkmode chang event.
…into DarkModeFixes
… recreate the default renderer.
…to WM_DWMNCRENDERINGCHANGED
…s when switch themes at runtime
@JeremyKuhne @KlausLoeffelmann Do you have any questions about the code background or any suggestions for changes?
|
@Olina-Zhang |
Fixes #12027
Fixes #12992
Fixes #12991
Fixes #12582
Fixes #11941
Fixes #11932
Fixes #13636
Proposed changes
Dark Mode Specific Fixes and Improvements
Core and System Colors
Application Theme Propagation
Control Rendering & Theming
OnSystemColorsChanged
to trigger theming updates for child controls as well.Window and Non-Client Area
PropertyGrid and TreeView Controls
ToolStrips
Form Properties and Documentation
Integration Test Application
Customer Impact
Regression?
Risk
Test methodology
Accessibility testing
Test environment(s)