Pink colored bookmarks and history in Android Q beta 6
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox-esr6869+ verified, firefox69 verified, firefox70 verified)
People
(Reporter: bevis, Assigned: ashleyrose)
References
Details
Attachments
(5 files)
521.54 KB,
image/png
|
Details | |
25.15 KB,
image/png
|
Details | |
66.35 KB,
image/png
|
Details | |
225.17 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-esr68+
|
Details | Review |
User Agent: Mozilla/5.0 (Android 10; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Steps to reproduce:
Nothing to be specific. Happens in Android Q beta 6.
Actual results:
Pink colored bookmarks and history
Expected results:
White background with black texts
Comment 3•5 years ago
|
||
Did you enable paint flashing?
Comment 4•5 years ago
|
||
Never mind I can reproduce this on Q beta 6 running on a Pixel 2XL.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
This has also been reported to Google at https://issuetracker.google.com/issues/139090903 it may be an issue that Android should fix.
Forgot to mention that even the background of the search engine selector from the address bar is also colored pink.
Comment 7•5 years ago
|
||
This happened to me in beta 5 of Android Q on a Pixel 3
Assignee | ||
Comment 8•5 years ago
|
||
Comment 9•5 years ago
|
||
Thanks Ashley! Petru or Andrei please review when you have a chance.
Assignee | ||
Comment 10•5 years ago
|
||
You're welcome!
This happened because Q now loads a ColorStateListDrawable when loading an XML resource defined under res/color
as a Drawable. For backwards compatibility, it falls back to loading the resource as a Drawable, but since ColorStateList and StateListDrawable both share the <selector>
root tag, the fallback does not get triggered. ColorStateList falls back to magenta if an item in the state list is missing an android:color
attribute.
To fix this, I added an android:color
attribute to the affected XML resources, and kept the android:drawable
attribute. This allows them to be loaded as a ColorStateList (which Q wraps with a ColorStateListDrawable) or as a StateListDrawable on devices before Q.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment on attachment 9086789 [details]
Bug 1574028: Fix ColorStateLists on Android Q
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Important UX bug.
- User impact if declined: The app would show a magenta background for various Views in Android Q.
- Fix Landed on Version:
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Background color change for 3 layouts.
- String or UUID changes made by this patch:
Beta/Release Uplift Approval Request
- User impact if declined: The app would show a magenta background for various Views in Android Q.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Verify that the search engine bar and the items in the
Bookmarks
andHistory
tabs do not show a magenta background. - List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Background color change for 3 layouts.
- String changes made/needed:
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/6879692f1dc1
Fix ColorStateLists on Android Q r=petru
Comment 13•5 years ago
|
||
Comment on attachment 9086789 [details]
Bug 1574028: Fix ColorStateLists on Android Q
Fixes an ugly UX regression on newer betas of Android Q. Approved for Fennec 68.1b8.
Updated•5 years ago
|
Comment 14•5 years ago
|
||
bugherder |
Comment 15•5 years ago
|
||
bugherder uplift |
Comment 16•5 years ago
|
||
bugherder uplift |
Comment 17•5 years ago
|
||
I have tested the issue on the latest Firefox builds: 69.0b16 and 70.0a1 (2019-08-21) using a Google Pixel XL (Android Q Beta 6) and the issue no longer occurs. I will mark this issue accordingly. I will leave the qe-verify+ flag up until the fix is uplifted to the esr build.
Updated•5 years ago
|
Comment 18•5 years ago
|
||
Hi, verified as fixed on Firefox 68.1b8 using a Google Pixel XL (Android Q Beta 6)
Updated•5 years ago
|
Comment 19•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Updated•3 years ago
|
Description
•