Closed
Bug 1203129
Opened 9 years ago
Closed 9 years ago
Different shades of grey on the icons from action bar (GB devices?)
Categories
(Firefox for Android Graveyard :: General, defect)
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)
70.81 KB,
image/png
|
Details |
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.
Blocks: fennec-polish
Mentor: michael.l.comella, markcapella
Whiteboard: [lang=java][lang=js]
Looks like we might be able to use the GeckoActionBar style and android:tint here too: https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values/styles.xml?rev=94a35ea51e6a#727
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
Comment 5•9 years ago
|
||
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.
Blocking the regressing bug.
Blocks: 1194659
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.
Reporter | ||
Updated•9 years ago
|
status-firefox44:
--- → affected
Comment 10•9 years ago
|
||
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.
Comment 12•9 years ago
|
||
Okay Michael.
Comment 13•9 years ago
|
||
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)
Comment 15•9 years ago
|
||
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: 9 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?)
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•