Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App.Current.RequestedThemeChanged never fires #11005

Closed
WebGoose opened this issue Oct 31, 2022 · 4 comments · Fixed by #11199
Closed

App.Current.RequestedThemeChanged never fires #11005

WebGoose opened this issue Oct 31, 2022 · 4 comments · Fixed by #11199
Assignees
Labels
area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events area-theme Themes, theming fixed-in-7.0.81 Look for this fix in 7.0.81! fixed-in-7.0.92 Look for this fix in 7.0.92! fixed-in-7.0.100 fixed-in-7.0.101 fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/android 🤖 platform/iOS 🍎 t/bug Something isn't working

Comments

@WebGoose
Copy link

Description

I am trying to subscribe to system theme changes as per the docs here : https://learn.microsoft.com/en-us/dotnet/maui/user-interface/system-theme-changes

The event never fires.

We don't use AppThemeBinding for our theming so we want to be able to react to Light / Dark mode changes using this event.

Steps to Reproduce

Create a new MAUI app. Subscribe to the event in App.Xaml.cs and set a breakpoint.

The breakpoint is never hit.

image

Link to public reproduction project repository

No need, just do a new app

Version with bug

7.0 Release Candidate 2

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

Android 11

Did you find any workaround?

No response

Relevant log output

No response

@WebGoose WebGoose added the t/bug Something isn't working label Oct 31, 2022
@hartez hartez added this to the Backlog milestone Oct 31, 2022
@ghost
Copy link

ghost commented Oct 31, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@hartez hartez added area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events platform/android 🤖 platform/iOS 🍎 labels Oct 31, 2022
@mattleibow
Copy link
Member

Is this maybe a duplicate of #10310

@mattleibow
Copy link
Member

Duplicate of #10310

@mattleibow mattleibow marked this as a duplicate of #10310 Mar 7, 2023
@mattleibow mattleibow reopened this Mar 7, 2023
@mattleibow
Copy link
Member

Duplicate of #8236

@mattleibow mattleibow marked this as a duplicate of #8236 Mar 7, 2023
@mattleibow mattleibow added the area-theme Themes, theming label Mar 8, 2023
@samhouts samhouts added fixed-in-7.0.81 Look for this fix in 7.0.81! fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! labels Apr 12, 2023
@samhouts samhouts modified the milestones: Backlog, .NET 7 + Servicing Apr 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2023
@samhouts samhouts added the fixed-in-7.0.92 Look for this fix in 7.0.92! label Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events area-theme Themes, theming fixed-in-7.0.81 Look for this fix in 7.0.81! fixed-in-7.0.92 Look for this fix in 7.0.92! fixed-in-7.0.100 fixed-in-7.0.101 fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/android 🤖 platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants