Shell Flyout Issue (App ThemeBinding wont update icon)
See original GitHub issueDescription
If you use the shell flyout with an icon that is supposed to change per theme. In the case where you change the theme at runtime, the icons are not updated correctly.
No matter you update them manually or via apptheming
Reproduction Repo: https://github.com/DeepWorksStudios/ReproductionProjectBug8334_Shellicon
Steps to Reproduce
1 ,> Create Maui project 2. > Add some -flyout elements and select shell behavior for the flyout. 3. > Give each flyout its own icon and via themebinding one variant each for dark and light. 4. > start the emulator or the device 5. > change the theme 6. > Check if the error still occurs
Version with bug
6.0.400 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
All Android Version, All Windows Verson
Did you find any workaround?
Not really, I implemented the mvvm for the appshell and manually updated the images by binding. But it works unreliable some icons were updated some not really strange.
STARTUP DARK MODE
RUNTIME FROM DARK MODE >> LIGHT MODE
STARTUP LIGHT MODE
RUNTIME FROM LIGHT MODE >> DARK MODE
Relevant log output
None
Issue Analytics
- State:
- Created a year ago
- Comments:13 (1 by maintainers)
@XamlTest use FlyoutIcon instead. The “Icon” Flag doesn’t react to Themechanges.
verified repro on android using above repro project.