-
Notifications
You must be signed in to change notification settings - Fork 4.9k
[Windows 11] "Sync with OS" theme option results in inverted themes when toggling with PowerToys #11993
Copy link
Copy link
Open
Labels
area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.bugSomething isn't working.Something isn't working.os:windowsWindows-specific behavior, regressions, or requests.Windows-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.warp:auto-triage-review
Metadata
Metadata
Assignees
Labels
area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.bugSomething isn't working.Something isn't working.os:windowsWindows-specific behavior, regressions, or requests.Windows-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.warp:auto-triage-review
Type
Fields
Give feedbackNo fields configured for issues without a type.
Pre-submit Checks
Describe the bug
When using the "Sync with OS" theme setting on Windows 11, dynamically switching between light and dark themes using Microsoft PowerToys causes an inverted theme configuration (i.e., the app switches to the dark theme when the OS is in light mode, and vice versa).
Investigation
This issue stems from how the underlying winit library reads the system theme. Reading the theme via uxtheme.dll introduces a delay/race condition during rapid or automated toggles, which leads to out-of-sync states. The system theme should instead be read directly from the Windows Registry to ensure immediate and accurate updates.
Pull requests
I have submitted a fix to the Warp-scoped winit fork, and a similar upstream fix is also under discussion:
To reproduce
Expected behavior
Theme of the application should sync with OS.
Screenshots, videos, and logs
20260601-1240-28.8991285.mp4
Operating system (OS)
Windows
Operating system and version
Windows 11 25H2 (Build 26200.8524, Simplified Chinese)
Shell Version
No response
Current Warp version
v0.2026.05.27.15.44.stable_01
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None