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

Fix button widget authentication dismissed due to non-foreground window #4066

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

jpelgrom
Copy link
Member

Summary

Fixes #3893: prevent the button widget authentication dialog automatically being dismissed when triggered on Android 14 QPR1+, because the window was not in the foreground. It looks like the framework check for this was bugged before QPR1, and the Home Assistant app was showing the authentication dialog before the window (which is transparent) was in the foreground.

More details about how I found this in my last comment on the issue.

Screenshots

No visual changes except maybe you have to wait 50-100ms longer for the window to get to the foreground compared to older versions?

widget-auth.mp4

Link to pull request in Documentation repository

n/a

Any other notes

 - Fixes the button widget authentication dialog automatically being dismissed when triggered on Android 14 QPR1+, because the window was not in the foreground. It looks like the framework check for this was bugged before QPR1, and the Home Assistant app was showing the authentication dialog before the window (which is transparent) was in the foreground.
@jpelgrom jpelgrom linked an issue Dec 19, 2023 that may be closed by this pull request
@JBassett JBassett merged commit 7cc545b into home-assistant:master Dec 20, 2023
3 checks passed
@jpelgrom jpelgrom deleted the update-widget-auth-window branch December 20, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants