Closed
Bug 833800
Opened 13 years ago
Closed 12 years ago
The pinned site indicator is not visible on dark thumbnails
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox21 wontfix, firefox22 wontfix, firefox23 wontfix, firefox24 wontfix, firefox25 wontfix, firefox26 verified, firefox27 verified, fennec26+)
People
(Reporter: xti, Assigned: sriram)
Details
(Whiteboard: [don't uplift until bug 917396 has approval])
Attachments
(5 files, 1 obsolete file)
|
1.28 KB,
patch
|
Details | Diff | Splinter Review | |
|
178.69 KB,
image/png
|
Details | |
|
12.13 KB,
patch
|
wesj
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
3.12 KB,
patch
|
lucasr
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
2.81 KB,
patch
|
Margaret
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Firefox for Android
Version: 21.0a1 (2013-01-23)
Device: Galaxy R
OS: Android 2.3.4
Steps to reproduce:
1. Go to popuptest.com/popuptest1.html
2. Go to about:home and pin the site opened at step 1
Expected result:
The pin indicator is visible
Actual result:
The pin indicator is not visible due to the dark top side of the thumbnail (see attached screenshot)
Updated•13 years ago
|
tracking-fennec: --- → ?
status-firefox21:
--- → affected
Comment 1•13 years ago
|
||
Ian should this icon have a glow around it? Do you have some sort of other idea?
tracking-fennec: ? → +
Flags: needinfo?(ibarlow)
| Assignee | ||
Comment 2•13 years ago
|
||
May be we can crop the thumbnail on top right.
Or add a small shadow to entire thumbnail.
Comment 3•13 years ago
|
||
The original intent was to use a combination of the right grey and the right transparency so that it would show up everywhere. I would suggest adjusting the corner colour here to #666666 and giving it 70% opacity.
That'll look something like this, visible on white and also on black: http://cl.ly/image/063J123W433C
Flags: needinfo?(ibarlow)
Comment 4•12 years ago
|
||
Saw a complaint about this on Google Play for FxBeta yesterday
status-firefox22:
--- → affected
status-firefox23:
--- → affected
status-firefox24:
--- → affected
status-firefox25:
--- → affected
status-firefox26:
--- → affected
| Assignee | ||
Comment 5•12 years ago
|
||
Shall we make it orange? It'll be clear. Using opacity would interfere with the thumbnail image anyways.
Comment 6•12 years ago
|
||
I think that would just break on orange thumbnails? We need to add a light highlight to it on that one edge.
| Assignee | ||
Comment 7•12 years ago
|
||
Attachment #804539 -
Flags: review?(wjohnston)
Comment 8•12 years ago
|
||
Just wanted to see what it looks like in modern times
Attachment #705341 -
Attachment is obsolete: true
Comment 9•12 years ago
|
||
Comment on attachment 804539 [details] [diff] [review]
Patch
Review of attachment 804539 [details] [diff] [review]:
-----------------------------------------------------------------
Moving to an image here.
Attachment #804539 -
Flags: review?(wjohnston)
| Assignee | ||
Comment 10•12 years ago
|
||
Attachment #806110 -
Flags: review?(wjohnston)
Comment 11•12 years ago
|
||
Comment on attachment 806110 [details] [diff] [review]
Patch
Review of attachment 806110 [details] [diff] [review]:
-----------------------------------------------------------------
Nice deleting.
::: mobile/android/base/resources/layout/top_bookmark_item_view.xml
@@ +19,2 @@
> android:duplicateParentState="true"
> + android:drawablePadding="4dip"
Put this in dimen and maybe a style?
Attachment #806110 -
Flags: review?(wjohnston) → review+
| Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #11)
> Comment on attachment 806110 [details] [diff] [review]
> Patch
>
> Review of attachment 806110 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Nice deleting.
>
> ::: mobile/android/base/resources/layout/top_bookmark_item_view.xml
> @@ +19,2 @@
> > android:duplicateParentState="true"
> > + android:drawablePadding="4dip"
>
> Put this in dimen and maybe a style?
This is a one-time use value. Putting it in a style file would involve unnecessary lookups. I feel like having it here.
| Assignee | ||
Comment 13•12 years ago
|
||
The earlier calculations didn't account for compound drawables. This patch accounts for it. (Note: This cases is only for pin icon).
Attachment #806123 -
Flags: review?(lucasr.at.mozilla)
Comment 14•12 years ago
|
||
Comment on attachment 806123 [details] [diff] [review]
Patch: Fading in text-view
Review of attachment 806123 [details] [diff] [review]:
-----------------------------------------------------------------
Nice catch.
::: mobile/android/base/home/FadedTextView.java
@@ +56,5 @@
> // Layout doesn't return a proper width for getWidth().
> // Instead check the width of the first line, as we've restricted to just one line.
> if (getLayout().getLineWidth(0) > width) {
> + final Drawable leftDrawable = getCompoundDrawables()[0];
> + int drawableWidth = 0;
nit: I'd reverse the order of lines above:
int drawableWidth...
final Drawable...
@@ +66,1 @@
> int color = getCurrentTextColor();
nit: final
Attachment #806123 -
Flags: review?(lucasr.at.mozilla) → review+
| Assignee | ||
Comment 15•12 years ago
|
||
| Assignee | ||
Comment 16•12 years ago
|
||
Ideally LinearLayout is good. But it doesn't have the third constructor in pre-ICS version. But we dump few things in style which will be used by Android. So, reverting back to RelativeLayout -- "all is well" world.
Attachment #806624 -
Flags: review?(margaret.leibovic)
Comment 17•12 years ago
|
||
Comment on attachment 806624 [details] [diff] [review]
Patch: LinearLayout
Looks good, it looks like this just reverts to what we were doing before in TopBookmarkItemView.
Out of curiosity, why was this change to a LinearLayout made in your other patch?
Attachment #806624 -
Flags: review?(margaret.leibovic) → review+
| Assignee | ||
Comment 18•12 years ago
|
||
We had a pin icon sticking on top left. In that case it's better to use a RelativeLayout (saves one ViewGroup in the middle). But then the pin is now a part of the title. So the image and the text can be placed in a vertical LinearLayout. However it didn't help due to Android code.
| Assignee | ||
Comment 19•12 years ago
|
||
Comment 20•12 years ago
|
||
Setting to track 26, since this is part of the follow-up work to bug 917394.
tracking-fennec: + → 26+
Comment 21•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2839a4856902
https://hg.mozilla.org/mozilla-central/rev/baf63262542e
https://hg.mozilla.org/mozilla-central/rev/353f00637313
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
| Assignee | ||
Comment 22•12 years ago
|
||
Comment on attachment 806110 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Old design.
User impact if declined: The pin on top thumbnails is not seen.
Testing completed (on m-c, etc.): Landed safely in m-c on 09/20.
Risk to taking this patch (and alternatives if risky): No risk.
String or IDL/UUID changes made by this patch: None.
Attachment #806110 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 23•12 years ago
|
||
Comment on attachment 806123 [details] [diff] [review]
Patch: Fading in text-view
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Old design.
User impact if declined: The pin on top thumbnails is not seen.
Testing completed (on m-c, etc.): Landed safely in m-c on 09/20.
Risk to taking this patch (and alternatives if risky): No risk.
String or IDL/UUID changes made by this patch: None.
Attachment #806123 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 24•12 years ago
|
||
Comment on attachment 806624 [details] [diff] [review]
Patch: LinearLayout
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Old design.
User impact if declined: The pin on top thumbnails is not seen.
Testing completed (on m-c, etc.): Landed safely in m-c on 09/20.
Risk to taking this patch (and alternatives if risky): No risk.
String or IDL/UUID changes made by this patch: None.
Attachment #806624 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
status-firefox27:
--- → verified
Updated•12 years ago
|
Attachment #806110 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•12 years ago
|
Attachment #806123 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•12 years ago
|
Attachment #806624 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 25•12 years ago
|
||
Depends on bug 917396, which doesn't have approval yet.
Whiteboard: [don't uplift until bug 917396 has approval]
Comment 26•12 years ago
|
||
Comment 27•12 years ago
|
||
Verified fixed on:
Firefox 26 Beta 1 (2013-10-26)
Device: LG Optimus 4X
OS: Android 4.1.2
Updated•5 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
•