Closed Bug 1203129 Opened 9 years ago Closed 8 years ago

Different shades of grey on the icons from action bar (GB devices?)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox40 unaffected, firefox41 unaffected, firefox42 affected, firefox43 affected, firefox44 affected)

RESOLVED WONTFIX
Tracking Status
firefox40 --- unaffected
firefox41 --- unaffected
firefox42 --- affected
firefox43 --- affected
firefox44 --- affected

People

(Reporter: cos_flaviu, Unassigned, Mentored)

References

Details

(Whiteboard: [lang=java][lang=js])

Attachments

(1 file)

Attached image action bar.png
Environment: 
Device: Samsung Galaxy R (Android 2.3.4);
Build: Nightly 43.0a1 (2015-09-09);

Steps to reproduce:
1. Go to a website (e.g.: en.wikipedia.org/wiki/Mozilla);
2. Long tap on a word in order to select it;
3. Observe the icons from the action bar.

Expected result:
All the icons from the action bar have the same color.

Actual result:
'Select all' and 'Copy' icons have a lighter shade of grey.

Notes:
Please check the attached screenshot.
The action bar is constructed in JS and I believe eventually touches java so we can probably run DrawableCompat.tint/DrawableUtil over all of the assets before showing the action bar.
Mentor: michael.l.comella, markcapella
Whiteboard: [lang=java][lang=js]
Also, it's hard to tell, but it looks like we may not have this problem on > GB devices.
I see the regression. I added drawableTintList to Widget.MenuItemActionBar which GeckoActionBar.Button inherits from (seriously...?):

https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values/styles.xml?rev=94a35ea51e6a#92
It'd be great if we can keep this looking the same as the action bar that appears when users try to copy and paste URLs from the toolbar.
I updated the GeckoActionBar.Button style, the MenuItemActionBar style, and the MenuItemSecondaryActionBar style and nothing fixed this. I don't know what's going on and it's a small discrepancy so probably not worth spending too much time over.
(In reply to Anthony Lam (:antlam) from comment #5)
> It'd be great if we can keep this looking the same as the action bar that
> appears when users try to copy and paste URLs from the toolbar.

fwiw, imo it'd be better to consolidate our action bars and take the opportunity to greatly simplify the action bar code (and please, please, please pick better names).
Since I don't plan on fixing this soon, moving block to depends on.
No longer blocks: 1194659
Depends on: 1194659
Hi Michael
I am interested in resolving this bug.May be I can help you.
Hey Swarnim.

Sure, you can dig into this one! I'll just say that I had trouble fixing it myself so it's a tricky one! Let me know if you'd want to work on something a little simpler. My previous comments should provide some context on how the code is structured.

We'll assign you to the bug once you post a patch.
Okay Michael.
Hi Michael, I tried but can't able to afford Samsung Galaxy R (Android 2.3.4).
(In reply to Swarnim from comment #13)
> Hi Michael, I tried but can't able to afford Samsung Galaxy R (Android
> 2.3.4).

Sorry but I'm not sure I understand. By "can't able to afford" do you mean you can't fix the issue? Would you like me to give you a simpler issue to try to fix?
Flags: needinfo?(mininag12)
In the description by Flaviu, the device that he mentioned in it.Actually I don't have that device i.e.  Samsung Galaxy R (Android 2.3.4) So how can I work in it.I will be happy to fix simpler issue as I am newbie and want to contribute in Mozilla.
Flags: needinfo?(mininag12)
(In reply to Swarnim from comment #15)
> In the description by Flaviu, the device that he mentioned in it.Actually I
> don't have that device i.e.  Samsung Galaxy R (Android 2.3.4) So how can I
> work in it.I will be happy to fix simpler issue as I am newbie and want to
> contribute in Mozilla.

You can probably use the emulator, which we support from the command line. That being said, it's unclear how long GB will be sticking around so I'm going to WONTFIX this.

Perhaps you can take a look at bug 1187382 or bug 972734?
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Summary: Different shades of grey on the icons from action bar → Different shades of grey on the icons from action bar (GB devices?)
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

Creator:
Created:
Updated:
Size: