Skip to content

DarkMode (c) Fix TitleBar issues #13468

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

Conversation

KlausLoeffelmann
Copy link
Member

@KlausLoeffelmann KlausLoeffelmann commented May 16, 2025

Fixes #12992.

Microsoft Reviewers: Open in CodeFlow

@github-actions github-actions bot added the area-DarkMode Issues relating to Dark Mode feature label May 16, 2025
@dotnet-policy-service dotnet-policy-service bot added the draft draft PR label May 16, 2025
Copy link

codecov bot commented May 17, 2025

Codecov Report

Attention: Patch coverage is 13.38462% with 1126 lines in your changes missing coverage. Please review.

Project coverage is 76.47531%. Comparing base (c78c1e9) to head (c68dc30).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #13468         +/-   ##
===================================================
- Coverage   76.60074%   76.47531%   -0.12544%     
===================================================
  Files           3230        3239          +9     
  Lines         639097      640238       +1141     
  Branches       47289       47403        +114     
===================================================
+ Hits          489553      489624         +71     
- Misses        145962      147041       +1079     
+ Partials        3582        3573          -9     
Flag Coverage Δ
Debug 76.47531% <13.38462%> (-0.12544%) ⬇️
integration 18.72660% <5.76923%> (-0.05413%) ⬇️
production 50.82678% <13.38462%> (-0.17762%) ⬇️
test 97.40411% <ø> (ø)
unit 48.22355% <13.38462%> (-0.19133%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@KlausLoeffelmann KlausLoeffelmann marked this pull request as ready for review May 17, 2025 00:41
@KlausLoeffelmann KlausLoeffelmann requested a review from a team as a code owner May 17, 2025 00:41
[main] Source code updates from dotnet/dotnet
@dotnet-policy-service dotnet-policy-service bot removed the draft draft PR label May 17, 2025
@KlausLoeffelmann KlausLoeffelmann changed the base branch from main to klaus/preview5/B May 17, 2025 17:14
dotnet-maestro bot and others added 21 commits May 18, 2025 02:49
[main] Source code updates from dotnet/dotnet
Chromium based apps don't support file drop without using IDataObjectAsyncCapability. This includes the new Outlook.

To support this we'll look for this interface in our current code paths and utilize it. This makes the async operation sync, which works, but isn't ideal. Chromium will pop a dialog that will leave WinForms modal as well until it is responded to.

If this behavior creates an issue it can be disabled with the appcontext switch: "Windows.DragDrop.DisableSyncOverAsync"

In order to truly support async we're also introducing a new interface to allow calling back off of the UI thread. This will be shipped as experimental for .NET 10 as there is a small risk we'll want to change the API based on real-world feedback. See dotnet#13422.
* Initial plan for issue

* Fix thread safety in Application.ThreadContext.FromId

Co-authored-by: JeremyKuhne <[email protected]>

* Optimize lock usage in Application.ThreadContext.FromId

Co-authored-by: JeremyKuhne <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: JeremyKuhne <[email protected]>
[main] Source code updates from dotnet/dotnet
...proof, that the existing Unit Tests are doing a fantastic job!
@KlausLoeffelmann KlausLoeffelmann force-pushed the DarkMode_c_FixTitleBars2 branch from c68dc30 to e0697dc Compare May 21, 2025 15:56
@KlausLoeffelmann KlausLoeffelmann deleted the DarkMode_c_FixTitleBars2 branch May 21, 2025 16:05
@github-actions github-actions bot locked and limited conversation to collaborators Jun 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-DarkMode Issues relating to Dark Mode feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DarkMode]The Form1 title bar change to white color after change the ShowInTaskbar property
4 participants