The colors of the icons from the status bar are not in contrast with the status bar background color
Categories
(Fenix :: General, defect)
Tracking
(Not tracked)
People
(Reporter: iorgamgabriel, Unassigned)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Steps to reproduce:
- From Gmail open a link on a custom tab or open a custom tab from Focus itself.
- The icons from status bar are not visible for light theme and for dark theme are not in contrast .
This bug it is in Focus and Fenix . 106 version
It was added first here https://github.com/mozilla-mobile/focus-android/issues/7860
Actual results:
The icons from status bar are not visible for light theme and for dark theme are not in contrast .
Expected results:
The colors of the icons from the status bar should be in contrast with the status bar background color.
Reporter | ||
Comment 1•8 months ago
|
||
Reporter | ||
Comment 2•8 months ago
|
||
The problem is in Android Component support-ktx modul WindowInsetsControllerCompat should be different than the status background color.
I can confirm this, version info:
106.1.0 (Build #2015909131), 71ca6c1f7+
AC: 106.0.5, 5f06485fc3
GV: 106.0-20221010181815
AS: 94.2.1
I use the light theme and the icons are white on white.
Switching to another tab and back fixes this: the text colour turns dark grey.
Switching to another app and back to Firefox brings back white on white.
It seems there is a check to define the notification bar text color that is executed correctly when switching between tabs, but it is skipped when Firefox becomes the active app.
Comment 4•7 months ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•7 months ago
|
Updated•7 months ago
|
Comment 5•7 months ago
|
||
This bug was fixed https://github.com/mozilla-mobile/focus-android/issues/7860
Comment 6•7 months ago
|
||
(In reply to Iorga Gabriel from comment #5)
This bug was fixed https://github.com/mozilla-mobile/focus-android/issues/7860
If not using dark mode, it will be fixed.
Unfortunately, I can reproduce same issue on Twitter's PWA when using the latest version of Firefox Nightly (on Pixel 6a + Android 13) with dark mode. Twitter's manifest.json has theme_color: "#ffffff"
, so background color of status bar is white. But status icon keeps white. I guess that this may be a bug of custom tab feature in android framework.
Updated•4 days ago
|
Description
•