-
Notifications
You must be signed in to change notification settings - Fork 796
Open
Labels
area-TextBoxTextBox, RichEditBoxTextBox, RichEditBoxbugSomething isn't workingSomething isn't working
Description
Describe the bug
When changing the theme (e.g. from Dark to Light), the foreground color of a text in a RichEditBox "is lost", meaning the color switches back to the default text foreground color
Why is this important?
I am using RichEditBox as a WYSIWYG editor and users can add formatting to the text (bold, italics, background color, foreground colors etc). It can happen that users either manually change the Windows theme in the Windows settings. When this happens, the color formatting gets lost
Steps to reproduce the bug
- Download and open WinUI 3 Gallery app
- Go to RichEditBox page (winui3gallery://item/RichEditBox)
- Focus text field and paste a colored text (e.g. some colored text copied from MS Word):
- Click "Toggle Theme"
- Note that the text color has changed to either black or white (depending on the theme) and is no longer colored
Actual behavior
Expected behavior
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.8.3: 1.8.251106002
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-TextBoxTextBox, RichEditBoxTextBox, RichEditBoxbugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog