On RequestedThemeChanged
from device on Windows
the FlyoutItem
text is not changed
#21042
Labels
area-controls-flyout
Flyout
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
If changing the
Theme
on Windows (tested 10 and 11) from the device settings, while theAppUserTheme
isUnspecified
, the app changes the color as it should. However only theFlyoutItem
text is not changed.If switching the theme by setting
AppUserTheme
at runtime in the application itself, it works. The issue only comes up if the device is switching the theme.Starting with
Dark
theme set onWindows
Now changing the theme to
Light
at the windows settings while the repro application is running.Now, the
Label
used for theFlyoutItem
is set toWhite
and it is not possible to read the "Home" text anymore.Also the
Close
andMinimize
,Maximize
buttons are not visible anymore.Steps to Reproduce
Windows
Link to public reproduction project repository
https://github.com/AndreasReitberger/MauiRequestedThemeChangedBug
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
10, 11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: