MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: Printing when using dark mode
@ambikakunnath is already working on this.
Since Nov 13, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
In my app I support dark mode and I use the provided APIs to set the background dark or light accordingly.
Now, this version 3537.50 is fine. But when I update the NuGet package to the newer version I find that the background of what used to be white now also shows dark. It does not in 3537.50 (which is good).
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
142.0.3595.53
SDK Version
3537.50
Framework
Win32
Operating System
Windows 11
OS Version
10.0.26200
Repro steps
I tried to compensate by setting the "body" to white but even that is not OK because the actual page background shows dark. And print preview is funny when scrolling pages because it too has that darker border.
I have reverted to 3537.50 and the problem goes away.
Is there a regression with this?
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Regression in newer SDK
Last working version (if regression)
3537.50 (newer is messed up)
AB#60411517
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.