Closed Bug 1916300 Opened 2 years ago Closed 1 year ago

Firefox splashscreen doesn't use dark mode theme

Categories

(Firefox for Android :: Design System and Theming, defect)

Firefox 130
All
Android
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: emanuellclaudiu, Assigned: mavduevskiy, NeedInfo)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Android 11; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0

Steps to reproduce:

When we select the dark theme in the app and the phone is set to the light theme, the app opens with the logo still on the light theme, it should open on the selected theme in the app without affecting the theme set on the phone. This also happens when we put the light theme on the app and the dark theme on the phone, vice versa.

Actual results:

When opening the application, the background is the one set in the phone, not the theme set in the application.

Expected results:

The background theme, when opening the application, should remain the one selected in the application.

Flags: needinfo?(cpeterson)

If your phone is in dark mode, then the big white background on Firefox's splashscreen will look bad.

Flags: needinfo?(cpeterson)
Summary: The app opening logo has the wrong background color when there is a theme in the app and another theme selected on the phone → Firefox splashscreen doesn't use dark mode theme
Assignee: nobody → mavduevskiy

Thanks for reporting this, :eclaudiu64. We actually were not aware of this behaviour, though changing it isn't something we can do.

It is a limitation of the android OS. The splash screen we are using is part of the androidOS, and it is shown even before Firefox has loaded. The system is using bundled resources to draw the splashscreen, and it goes colors into the dark/light folders depending on the system dark/light mode, not according to the app settings. It is behaviour that one can expect from any app that supports android splash screen, introduced in Android 13. duckduckgo, gmail, chrome have similar behaviour.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX

Reopening, there is a good chance that it could be fixed by 1919488

Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Depends on: 1919488

This should now work in the latest Nightly following the patch from bug 1919488.
Unfortunately the Android API allowing for this is only available on Android 12+.

@ QA /eclaudiu64 can you please confirm that you\re now seeing the expected result?

Flags: qe-verify+
Flags: needinfo?(emanuellclaudiu)

I was not able to reproduce this issue on the latest versions of Firefox for Android: 133.0.3, Beta 134.0b10, and Nightly 135.0a1.
Tested with:

  • Samsung Galaxy S24 (Android 14),
  • Google Pixel 9 Pro (Android 14),
  • Realme GT Master Edition (Android 13),
  • Xiaomi Mi8 Lite (Android 10), and
  • Sony Xperia Z5 Premium (Android 7.1.1).
Flags: qe-verify+

Verified on Fenix Nightly 136.0a1 from 1/9 with the following devices that Firefox splashscreen uses dark mode theme:

  • Google Pixel 6 (Android 15),
  • Samsung Galaxy S24 (Android 14),
  • Oppo Find N2 Flip (Android 14),
  • Vivo v23 (Android 14),
  • Xiaomi Mi8 Lite (Android 10).

Closing as fixed, and verified.

Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
Resolution: --- → FIXED
See Also: → 1899405
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: