Closed
Bug 1094467
Opened 12 years ago
Closed 8 years ago
[Settings][Themes] Switching to a non-default theme changes the color of the header in Settings
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(b2g-v2.1 affected, b2g-v2.2 unaffected)
RESOLVED
WONTFIX
| Tracking | Status | |
|---|---|---|
| b2g-v2.1 | --- | affected |
| b2g-v2.2 | --- | unaffected |
People
(Reporter: ychung, Unassigned)
References
Details
(Whiteboard: [2.1-exploratory-3])
Attachments
(2 files)
Description:
When the user changes the theme to a non-default theme, all headers under Settings app are displayed in black font, instead of gray.
Repro Steps:
1) Update a Flame device to BuildID: 20141105070832.
2) Go to Settings > Themes.
3) Select a non-default theme.
4) Select the back button.
Actual:
The "Settings" header and other headers under the sub-menu are displayed in black font.
Expected:
The headers in Settings app stays in the gray font.
Environmental Variables:
Device: Flame 2.1 (Shallow Flash, Eng., 319mb)
BuildID: 20141105070832
Gaia: 1ca22badfae2f9ce066c2405af3e85c4e2d5d380
Gecko: 7b1595df8f6b
Version: 34.0 (2.1)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Repro frequency: 100%
See attached: screenshot, logcat
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Comment 2•12 years ago
|
||
This issue does NOT reproduces on Flame 2.2.
Result: The headers in Settings app stays in the gray font.
Environmental Variables:
Device: Flame 2.2 (Shallow Flash, Eng., 319mb)
BuildID: 20141105120748
Gaia: 7918024c737c4570cacd784f267e28737ae05dea
Gecko: b6cd2dd85b26
Gonk: Could not pull gonk. Did you shallow Flash?
Version: 36.0a1 (2.2)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(dharris)
| Reporter | ||
Comment 3•12 years ago
|
||
The color of the header also changes to black in other apss, such as Dialer, Messages, Contacts, Calendar, and Usage.
Comment 4•12 years ago
|
||
Fabrice, any idea why this isnt persisting when hitting back?
Flags: needinfo?(fabrice)
Comment 5•12 years ago
|
||
I think this is expected actually. Changing theme changes the wallpaper and some UI elements. Francisco, is that right?
Flags: needinfo?(fabrice) → needinfo?(francisco)
Not nominating to block as this may be intended per comment 5
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris)
Comment 8•12 years ago
|
||
Hi all,
sorry for the delay, this is not expected to be black, actually if you take a look to comment 6 when we added the changes:
https://bugzilla.mozilla.org/show_bug.cgi?id=1074107#c6
The themes 1 and 2 make changes in comms, not the rest of the apps, I would suggest to ping Wilson or Arnau to take a look to gaia-header component.
Flags: needinfo?(wilsonpage)
Flags: needinfo?(rnowmrch)
Flags: needinfo?(francisco)
Comment 9•12 years ago
|
||
This is most likely because the theme you have switched to is missing the css-variable that defines the color of the header text [1]; meaning it falls back to the default colour: black.
Any new themes created should 'fork' the gaia-theme.css and amend the given variables to ensure that none are missing.
[1] https://github.com/gaia-components/gaia-theme/blob/master/gaia-theme.css#L154
Flags: needinfo?(wilsonpage)
Flags: needinfo?(rnowmrch)
Comment 10•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•