Firefox does not switch automatically between Light <> Dark theme if it was closed when OS theme is changed
Categories
(Fenix :: Design System and Theming, defect)
Tracking
(firefox109 unaffected, firefox110 unaffected, firefox111 affected, firefox123 affected, firefox124 affected, firefox125 affected)
Tracking | Status | |
---|---|---|
firefox109 | --- | unaffected |
firefox110 | --- | unaffected |
firefox111 | --- | affected |
firefox123 | --- | affected |
firefox124 | --- | affected |
firefox125 | --- | affected |
People
(Reporter: andrey, Unassigned)
References
Details
(Whiteboard: [qa-triaged] [mobile-ux-bug])
Attachments
(1 file)
6.43 MB,
video/mp4
|
Details |
Steps to reproduce:
Originally reported at: https://github.com/mozilla-mobile/fenix/issues/27568
- Setup Firefox for Android to switch automatically between Light <> Dark theme according to the Android
- Close Firefox
- Switch to the other theme on Android (from Light to Dark or vice-versa)
- Open Firefox again
Actual results:
When Firefox opens, it won't automatically switch to the right theme as it should. For example, if it was in the Light theme the last time you opened, it won't automatically switch to the Dark theme, even if Android is on Dark theme and Firefox is setup to follow the OS.
When Firefox is kept open during the switch, it works as expected. But it doesn't work if Firefox was closed during the OS theme switch.
This bug happens independently of how the theme was changed. If you change it manually, it happens. If you have you phone setup to automatically switch to Dark theme at night and back to Light during the day, this problem also happens.
Expected results:
When opening, Firefox should detect which theme is being set on Android and switch accordingly.
Comment 1•1 year ago
|
||
QA, can you please test whether this bug is specific to Android 12?
Andrey saw this bug on a Samsung Galaxy S20 FE | SM-G780G/DS device running Android 12.
Comment 2•1 year ago
•
|
||
We were able to reproduce this issue on a Samsung Note10 (Android 12) only on the latest Fenix Nightly 111.0a1 from 2/7, and intermittently on a Samsung A13 (Android 12).
Not reproducible on Oppo Reno 6 (Android 12).
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #1)
QA, can you please test whether this bug is specific to Android 12?
Andrey saw this bug on a Samsung Galaxy S20 FE | SM-G780G/DS device running Android 12.
I have A52 with Android 13 OneUI 5.1 and i still have this issue.
Firefox stable v111
Still happens on Samsung Galaxy Fold 4, Android 13/OneUI 5.1. Firefox 112
Comment 5•8 months ago
|
||
This also seems to happen when the phone has switched theme with Firefox in the background. (Not killed in app switcher)
Reporter | ||
Comment 6•5 months ago
|
||
I'm still dealing with this bug every single day. I hope to see it fixed at some point! 🙂
Comment 7•3 months ago
|
||
I can confirm as well that is happens for me too. For maybe a year or longer. This happens on a Samsung Galaxy S21 Ultra with android 14 and the latest version of regular Firefox. I have to set the battery management or Firefox to limited so that the app will automatically restart every time i open it so the app is refreshed and will apply the correct theme. A fix would be highly appreciated.
Comment 8•2 months ago
|
||
Still seeing it on v.123
Comment 9•2 months ago
|
||
Yes, same here. Like described my earlier post.
Comment 10•2 months ago
|
||
Still facing this issue in Galaxy S21 using latest Firefox for Android. Is there any way we could escalate this for fixing? It's been around for more than a year
Comment hidden (advocacy) |
Comment 12•2 months ago
|
||
You can temporarily fix this issue though by setting the battery optimization to limited for Firefox. Then Firefox will close in the background and therefore always refresh when opening the app. This will ensure that the preferred mode is enabled. If you have a fast phone, and the galaxy s21 is that, then you won't really notice the difference.
Updated•2 months ago
|
Comment 13•2 months ago
|
||
I don't have exactly the same problem as here, and I can't reproduce it by following the description above. However, I have encountered a similar problem, that is, the application will occasionally not follow the system light and dark mode without finding the trigger of the problem.
My device is Android 14 with Firefox 124 version.
Description
•