Closed Bug 1194659 Opened 9 years ago Closed 9 years ago

Back/forward are not visually disabled on phone

Categories

(Firefox for Android Graveyard :: General, defect)

43 Branch
All
Android
defect
Not set
normal

Tracking

(firefox42 fixed, firefox43 fixed)

RESOLVED FIXED
Firefox 43
Tracking Status
firefox42 --- fixed
firefox43 --- fixed

People

(Reporter: sebastian, Assigned: mcomella)

References

Details

Attachments

(2 files)

With the current Nightly version disabled menu items in the overflow menu (back, forward, share, ..) do not look disabled (grayed out) anymore.
Comment on attachment 8647986 [details]
disabled-forward-button.png

This is a 'forward' button. :)
Attachment #8647986 - Attachment description: disabled-back-button.png → disabled-forward-button.png
Attachment #8647986 - Attachment filename: disabled-back-button.png → disabled-forward-button.png
I can repro on my N4 but not my N7 and it only appears to affect the back/forward buttons.

Likely regression from bug 1179479 (but uncovered by bug 1193950).
Summary: Overflow menu items are not visually disabled → Back/forward are not visually disabled on phone
(In reply to Michael Comella (:mcomella) from comment #3)
> Likely regression from bug 1179479 (but uncovered by bug 1193950).

Yep. Before this code relied on alpha state but that was removed in bug 1179479 so now the state never changes. We need to introduce a tintlist, like we do for tablet [1].

[1]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values-large-v11/styles.xml?rev=9b6e54ff3cb3#46
Blocks: 1179479, 1193950
Assignee: nobody → michael.l.comella
Bug 1194659 - Tint menu on phones. r=mhaigh

We were doing this on tablets but I forgot to add the lines to make it work on
phones.
Attachment #8648289 - Flags: review?(mhaigh)
Comment on attachment 8648289 [details]
MozReview Request: Bug 1194659 - Tint menu on phones. r=mhaigh

https://reviewboard.mozilla.org/r/16177/#review14487

Ship It!
Attachment #8648289 - Flags: review?(mhaigh) → review+
url:        https://hg.mozilla.org/integration/fx-team/rev/076d3437d5facbda8e297fb36d6da316f8192126
changeset:  076d3437d5facbda8e297fb36d6da316f8192126
user:       Michael Comella <michael.l.comella@gmail.com>
date:       Fri Aug 14 15:28:16 2015 -0700
description:
Bug 1194659 - Tint menu on phones. r=mhaigh

We were doing this on tablets but I forgot to add the lines to make it work on
phones.
Comment on attachment 8648289 [details]
MozReview Request: Bug 1194659 - Tint menu on phones. r=mhaigh

Approval Request Comment
[Feature/regressing bug #]: Implemented in bug 1179479 but does not appear until bug 1193950 fixes the former.

[User impact if declined]: Users on phones have disabled buttons in the menu looking enabled.

[Describe test coverage new/current, TreeHerder]: Tested locally on Android 4+ phone and GB phone.
[Risks and why]: Minimal – I reuse a style created in the previous bugs but apply it to phone as well. In the worst case, I missed some testing some configuration and I have another small fix like this.

[String/UUID change made/needed]: None.
Attachment #8648289 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/076d3437d5fa
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Comment on attachment 8648289 [details]
MozReview Request: Bug 1194659 - Tint menu on phones. r=mhaigh

Bad UX, taking this fix.
Attachment #8648289 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
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: