Closed Bug 1393754 Opened 7 years ago Closed 7 years ago

(photon) Status bar color does not change on all devices

Categories

(Firefox for Android Graveyard :: Theme and Visual Design, defect)

57 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox57 affected)

RESOLVED INVALID
Tracking Status
firefox57 --- affected

People

(Reporter: ohorvath, Unassigned)

References

Details

(Whiteboard: [FNC][SPT57.3][MVP])

User Story

Mobile Visual spec: https://drive.google.com/file/d/0B-9PIePlQZRldk9INm9TUXBkcWs/view
Tablet visual spec:
https://drive.google.com/file/d/0B-9PIePlQZRlSFdzc1BXVlA5bDA/view

Attachments

(2 files)

Build: Nightly 57.0a1 (2017-08-25);
Devices:
Prestigio Grace X5 (Android 4.4.2)
HTC Nexus 9 (Android 7.1.1)
Xiaomi Mi Pad 2 (Android 5.1)
Lenovo Yoga Tablet 2 (Android 4.4.2)
Asus ZenPad 8.0 Z380KL (Android 6.0.1)

Steps to reproduce:
1. Open Nightly and switch between normal & private browsing modes.
2. Observe the status bar color.

Expected result:
In normal browsing, the status bar should have the same color as Nightly's toolbar (white).
In private browsing, the status bar should have the same color as Nightly's toolbar (gray).

Actual result:
On the list of devices here, the status bar doesn't change color.
No longer blocks: 1376995
Whiteboard: [FNC][SPT57.3][MVP]
We only support changing status bar color when device version >= 23(Android 6.0) because it needs:

1. `Window#setStatusBarColor(int)` requires version >= 21, and
2. `View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR` requires version >= 23

Hi Oana, for all devices >= 23 you have, does only HTC Nexus 9 and Asus ZenPad 8.0 Z380KL have this issue? Could you give us snapshots for further investigation since we don't have any of them in Taipei office?
Flags: needinfo?(oana.horvath)
Attached image Asus.jpg
Yes, these 2 devices are the only ones that I have with this issue. I've attached the screenshots. Let me know if I can help you with more infos.
Flags: needinfo?(oana.horvath)
Attached image Nexus.png
Hi Oana,

The status bar color in mobile and tablet are different, and the logic is

In mobile, the status bar color is white in normal mode, and grey in private mode;
In tablet, the status bar color is always grey in both mode.

This difference is by design because in tablet we have tab strips layout between status bar and toolbar. Since HTC Nexus 9 and Asus ZenPad 8.0 Z380KL are both tablets, it's correct to show grey status bar in normal mode. 

I've attached mobile/tablet visual spec links in 'User Story' for the reference.
User Story: (updated)
Thanks for clarifying! I'll mark this issue as invalid.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: