Closed Bug 1179355 Opened 9 years ago Closed 8 years ago

Battery charge lightning bolt indicator is invisible on dark grey charged battery icon

Categories

(Firefox OS Graveyard :: Gaia::System::Status bar, Utility tray, Notification, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.6 S6 - 1/29

People

(Reporter: scabral, Assigned: apastor)

Details

(Keywords: foxfood, Whiteboard: [systemsfe] 2.6UXnom)

Attachments

(2 files, 3 obsolete files)

Battery charge lightning bolt indicator is invisible on dark grey charged battery icon
The battery icon is dark grey, which is confusing. And the lightning bolt is tiny and low-contrast against it. It looks like a defect in the battery icon unless I put the phone right up to my face and stare closely at it.
Changing the contrast is one option. Another option is get rid of the lightning bolt and have people rely on the red/green charging dot in the upper left hand corner.
A bigger lightning bolt would also be fine, or color indication if that's desirable.
Component: General → Gaia::System::Status bar, Utility tray, Notification
Whiteboard: [systemsfe]
QA Whiteboard: [foxfood-triage]
Flags: needinfo?(firefoxos-ux-bugzilla)
From UX triage: 

Passing NI to Eric to take a look at. Eric, you have to open up an app, like Browser, and you will see what they are talking about. This isn't an issue on homescreen or lockscreen.

Thanks for pinging the UX team!!
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(epang)
(In reply to Sheeri Cabral [:sheeri] from comment #2)
> Changing the contrast is one option. Another option is get rid of the
> lightning bolt and have people rely on the red/green charging dot in the
> upper left hand corner.

Hi Sheeri, thanks for bringing up the issue.  Can we try updating the lightening bolt to white for the battery icon when the dark grey is used?
Flags: needinfo?(epang)
Flags: needinfo?(apastor)
Whiteboard: [systemsfe] → [systemsfe] 2.6UXnom
Assignee: nobody → apastor
Flags: needinfo?(apastor)
I don't think we can do this through code. The icons are always the same [1], but we apply a filter depending on the theme of the app, so all the whites become greys, but the blacks remain the same.

One possible solution would be leaving the lightning bolt transparent in the battery icon (in the same way the roaming icon does). That way, we would see it grey over white icons, and white over grey icons. Eric, what do you think?

[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/style/statusbar/images/icons%402.25x.png
Flags: needinfo?(epang)
Attached file status_bar_sprite.zip (obsolete) —
Hey Alberto, I've updated the sprites here. Thanks!
Flags: needinfo?(epang)
Attached file status_bar_sprite.zip (obsolete) —
Attachment #8691896 - Attachment is obsolete: true
Attached file status_bar_sprite.zip (obsolete) —
Hey Alberto, I've updated the status bar sprites so the lightening bolt is transparent. Thanks!
Flags: needinfo?(apastor)
Sorry Eric, but I can't still see the lightning bolt icon. Is just removed in both attachments. Are you sure the files are right?
Flags: needinfo?(apastor) → needinfo?(epang)
Attached file status_bar_sprites_new
Hey Alberto, sorry I must have uploaded the wrong file.  This one should be right now.
Attachment #8691897 - Attachment is obsolete: true
Attachment #8692687 - Attachment is obsolete: true
Flags: needinfo?(epang) → needinfo?(apastor)
Comment on attachment 8710504 [details] [review]
[gaia] albertopq:1179355-lightning-bolt > mozilla-b2g:master

Here some examples with the patch:

https://drive.google.com/a/mozilla.com/folderview?id=0ByGvk9QDMNxZNEU2LVVEWjBPNGM&usp=sharing

Eric, could you ui-r please?
Guillaume, quick r?

Thanks!
Flags: needinfo?(apastor)
Attachment #8710504 - Flags: ui-review?(epang)
Attachment #8710504 - Flags: review?(gmarty)
Comment on attachment 8710504 [details] [review]
[gaia] albertopq:1179355-lightning-bolt > mozilla-b2g:master

R+ thanks Alberto, looks good!
Attachment #8710504 - Flags: ui-review?(epang) → ui-review+
Comment on attachment 8710504 [details] [review]
[gaia] albertopq:1179355-lightning-bolt > mozilla-b2g:master

The sprites look good to me.
Attachment #8710504 - Flags: review?(gmarty) → review+
master: https://github.com/mozilla-b2g/gaia/commit/89602d6ae53ecf4129b35a84e49d25b9fd37bc39
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.6 S6 - 1/29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: