Closed Bug 1127154 Opened 10 years ago Closed 10 years ago

Enabling LWT changes the pressed/focused/etc. color of the navigation buttons

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox36 fixed, firefox37 fixed, firefox38 fixed)

RESOLVED FIXED
Firefox 38
Tracking Status
firefox36 --- fixed
firefox37 --- fixed
firefox38 --- fixed

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

Attachments

(2 files, 2 obsolete files)

Attached patch Patch (obsolete) (deleted) — Splinter Review
Attachment #8556225 - Flags: review?(mhaigh)
Attached file MozReview Request: bz://1127154/mcomella (obsolete) (deleted) —
/r/3119 - Bug 1127154 - Use new_tablet_url_bar_nav_button styles on LWT change in NavButton. Pull down this commit: hg pull review -r 7f64a3849a6b68fbc77a8ebd6bb80818b4e3cf71
Comment on attachment 8556228 [details] MozReview Request: bz://1127154/mcomella /r/3119 - Bug 1127154 - Use new_tablet_url_bar_nav_button styles on LWT change in NavButton. Pull down this commit: hg pull review -r 7f64a3849a6b68fbc77a8ebd6bb80818b4e3cf71
Attachment #8556228 - Flags: review?(mhaigh)
Comment on attachment 8556228 [details] MozReview Request: bz://1127154/mcomella https://reviewboard.mozilla.org/r/3117/#review2491 Looks good - nit is minor and doesn't really need addressing, but it may be nice to expand if it doesn't mean having to change the rest of that file (consistency is key). ::: mobile/android/base/toolbar/NavButton.java (Diff revision 1) > - stateList.addState(PRIVATE_PRESSED_STATE_SET, getColorDrawable(R.color.highlight_nav_pb)); > + stateList.addState(PRIVATE_PRESSED_STATE_SET, getColorDrawable(R.color.new_tablet_highlight_pb)); nit: I'd expand "pb" to "private_browsing". Having not looked at this code before I was confused about what it was.
Attachment #8556228 - Flags: review?(mhaigh) → review+
https://reviewboard.mozilla.org/r/3117/#review2495 > nit: I'd expand "pb" to "private_browsing". Having not looked at this code before I was confused about what it was. It's been around for a while so I'm going to skip it for now (and easier uplift). However, I think we can put some efforts into consolidating our colors w/ :antlam's color palette - I'll talk to him while he's in SF.
(In reply to Michael Comella (:mcomella) from comment #6) > https://hg.mozilla.org/integration/fx-team/rev/d69f2fb5f901 r=mhaigh - hg error caused it to be excluded on the commit.
Comment on attachment 8556228 [details] MozReview Request: bz://1127154/mcomella Approval Request Comment [Feature/regressing bug #]: [User impact if declined]: [Describe test coverage new/current, TreeHerder]: [Risks and why]: [String/UUID change made/needed]: Approval Request Comment [Feature/regressing bug #]: [User impact if declined]: [Describe test coverage new/current, TreeHerder]: [Risks and why]: [String/UUID change made/needed]: Approval Request Comment [Feature/regressing bug #]: New tablet UI (bug 1014156) [User impact if declined]: LWT theme users (and those that disable LWT but have not yet restarted FF) will see different colors when focusing or pressing the back/forward buttons. [Describe test coverage new/current, TreeHerder]: None [Risks and why]: Low - we're just changing some resource names so we'll likely screw up the colors added, if anything. In the worst case, the resources are missing and we have compile time errors, or they are null, so we crash. However, unlikely. [String/UUID change made/needed]: None
Attachment #8556228 - Flags: approval-mozilla-beta?
Attachment #8556228 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Attachment #8556228 - Flags: approval-mozilla-beta?
Attachment #8556228 - Flags: approval-mozilla-beta+
Attachment #8556228 - Flags: approval-mozilla-aurora?
Attachment #8556228 - Flags: approval-mozilla-aurora+
Flags: needinfo?(michael.l.comella)
Flags: needinfo?(michael.l.comella) → needinfo?(ryanvm)
Flags: needinfo?(ryanvm)
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: