Closed Bug 606590 Opened 14 years ago Closed 5 years ago

style backgrounds of add-ons section dividers

Categories

(Firefox for Android Graveyard :: General, defect, P1)

x86
macOS
defect

Tracking

(fennec-)

RESOLVED WONTFIX
Tracking Status
fennec - ---

People

(Reporter: madhava, Unassigned)

Details

(Keywords: polish, Whiteboard: [e0])

Attachments

(3 files, 9 obsolete files)

Currently the are flat grey, as seen here:
http://www.flickr.com/photos/upload/edit/?ids=5106010030

Can we use the same gradient as on the prefs screen?  Or maybe we need a new one?
tracking-fennec: --- → ?
Attached patch Patch (obsolete) — Splinter Review
Moves the same style over
Attachment #485458 - Flags: review?(mark.finkle)
Attached image Screenshot (obsolete) —
Comment on attachment 485458 [details] [diff] [review]
Patch

Remove the extra "color: black" before landing.
Attachment #485458 - Flags: review?(mark.finkle) → review+
Comment on attachment 485458 [details] [diff] [review]
Patch

Actually, I'm not sure we want to stretch the gradient over the height. It is likely to show banding. Let's check on device first.
Attachment #485458 - Flags: review+ → review-
Assignee: nobody → wjohnston
tracking-fennec: ? → 2.0b3+
Attached image Banding shot (obsolete) —
Forgot about this bug for a bit. This does show significant banding. We'll need a new larger size image I guess(?).
tracking-fennec: 2.0b3+ → 2.0+
Keywords: polish
Looks like we're going to try using a transparent gradient image bottom aligned, so that we're not covering the whole height with image.
updated the prefs-seperator-hdpi.png image to have a transparent background.

set the background color behind it to #f2f2f2 and should be good to go.

for the taller seperators, be sure to align the PNG to bottom.
Priority: -- → P2
Whiteboard: [e0]
Priority: P2 → P1
Let's switch to Sean's new separators. We also need to make sure this works on mdpi devices, where the height is not the same pixel length as on a hdpi device.
Attached patch Patch v2 (obsolete) — Splinter Review
This shows some banding too, but wanted to put it up. Screenshots to follow.
Attachment #485458 - Attachment is obsolete: true
Attached image Addons Manager (obsolete) —
Attachment #487780 - Attachment is obsolete: true
Attached image Prefs Pane (obsolete) —
Attachment #485459 - Attachment is obsolete: true
Madhava - I'd rather have no gradients (shocker) than have the banding
Attached patch Patch v3 (obsolete) — Splinter Review
Whoops. The old patch wasn't quite right. This doesn't get rid of banding. I also attempted two other methods, aligning the image to the bottom of the field so that it isn't stretched, and a different image with a gray background (no transparency) stretched to fit the area. All of them show banding. I can provide screen shots if we want.
Attachment #508969 - Attachment is obsolete: true
Attached image Prefs Pane - Aligned to bottom (obsolete) —
Attached image Addons Manager - Aligned to bottom (obsolete) —
Pics with the gradient set at:

background-position: bottom left;

and no background-size attribute.
Attached patch Patch v3Splinter Review
Patch
Attachment #509136 - Attachment is obsolete: true
Attachment #513492 - Flags: review?(mark.finkle)
Comment on attachment 513492 [details] [diff] [review]
Patch v3


> /* be consistent with the size of placeitem */
> placelabel {

>-  background-image: url(images/arrowup-16.png), url("images/row-header-bg.png");
>+  background-image: url"chrome://browser/skin/images/images/arrowup-16.png"),
>+                    url("chrome://browser/skin/images/prefs-seperator-hdpi.png");

url"chrome  -> url("chrome

and since it's used for headers in general, not just in preferences:
prefs-seperator-hdpi.png -> seperator-bg-hdpi.png

lastly, what does the banding look like now?

r+ if banding is gone
Attachment #513492 - Flags: review?(mark.finkle) → review+
Attached image Screenshot extravaganza
This does not remove banding entirely. Accoding to madhava on IRC:

08:53:33 AM - madhava: still a bit bandy
08:53:44 AM - madhava: but _way_ less so
08:53:52 AM - madhava: I'd use it -- better than flat

To be honest, I don't think the device screenshots reflect how this looks in real life either. I don't tend to notice things like this unless I am intentionally looking for them though, so I'm a bit torn. I put up a build with this: http://dl.dropbox.com/u/72157/fennec.apk (may take a few more
minutes to upload).
Attachment #508970 - Attachment is obsolete: true
Attachment #508971 - Attachment is obsolete: true
Attachment #513482 - Attachment is obsolete: true
Attachment #513483 - Attachment is obsolete: true
Tested the build on a Galaxy Tab and the banding is still quite noticeable. I am going to r- and drop this from blocking. We hoped this was a simple fix, but it doesn't seem to be. Given the other bugs on the blocker list, I need to drop this bug.
tracking-fennec: 2.0+ → 2.0-
Comment on attachment 513492 [details] [diff] [review]
Patch v3

r+ was conditional on banding.
Attachment #513492 - Flags: review+ → review-
Assignee: wjohnston → nobody
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: