-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Closed
Labels
22-x-ybug 🪲duplicatehas-repro-gistIssue can be reproduced with code at https://gist.github.com/Issue can be reproduced with code at https://gist.github.com/platform/allstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
>=22.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10 Enterprise 22H2
What arch are you using?
x64
Last Known Working Electron version
21
Expected Behavior
Click on the link to open the plain text file in a new window.
Text should be readable, e.g. white text on dark background.
Actual Behavior
Text is not readable. It's white text on white background.
This seems to only happen if there is a setWindowOpenHandler. If you comment out that line, a dark background is applied.
Testcase Gist URL
https://gist.github.com/ajafff/8d9e8eb8cc0a7ec2297f2445c54f5526
Additional Information
No response
Metadata
Metadata
Assignees
Labels
22-x-ybug 🪲duplicatehas-repro-gistIssue can be reproduced with code at https://gist.github.com/Issue can be reproduced with code at https://gist.github.com/platform/allstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature