Closed Bug 1191902 Opened 9 years ago Closed 9 years ago

Non-blurred favicon tiles look bad on older iPads

Categories

(Firefox for iOS :: Home screen, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: bnicholson, Assigned: bmunar)

Details

Attachments

(1 file)

Older iPads don't support blur, and we simply show a stretched favicon as the top sites tile background, which looks pretty terrible. Maybe we could use the dominant color, or just a plain gray for v1?

Screenshot: https://www.dropbox.com/s/15z653w24iwjnsb/mail.google.com.png?dl=0
I thought the default behaviour for UIVisualEffect was to render a grey screen[1], which I don't see here... Steph do you have any idea why this isnt happening?

[1] http://stackoverflow.com/questions/24129167/uivisualeffectview-renders-differently-on-different-devices
Flags: needinfo?(sleroux)
Yeah -- we intentionally changed that behavior in bug 1161258. What we do is look for all devices that don't support blur, and then we remove the blur for those devices.
Yup looks like we don't add a visual effect view at all when blur isn't supported:

https://github.com/mozilla/firefox-ios/blob/master/Client/Frontend/Widgets/ThumbnailCell.swift#L116
Flags: needinfo?(sleroux)
Hmm, seems that https://bugzilla.mozilla.org/show_bug.cgi?id=1161258 was supposed to replace only the panel background with a flat color, not *every* instance of the blur effect. The OS (generally) does a decent job of degrading, we should leverage that :/
Flags: needinfo?(randersen)
Flags: needinfo?(bkumar555)
Flags: needinfo?(bkumar555) → needinfo?(bmunar)
Waiting on robin for her decision on what to do with the topsites.
Flags: needinfo?(bmunar)
at the very least we should have a fallback for the devices that can't support the blur, so let's add UIColor whiteColor to all of the affected backgrounds (page bg, tilesbg, etc).
Flags: needinfo?(randersen)
Assignee: nobody → bmunar
Bryan, what's the scope of this, and how soon can you get it done?
Status: NEW → ASSIGNED
Robin, happy with how the title bar loses it's definition on the white background? Not sure it looks right to me...

https://cloud.githubusercontent.com/assets/8356717/9189049/489f045a-3f98-11e5-955b-5ce54744f35b.png
Flags: needinfo?(randersen)
See this on an iPad Air/3/2
Keywords: reproducible
Got this problem on my 4S with build 31 http://i.imgur.com/n4oKRJ4.png 
tough @rnewman said its already fixed in next build :)
Keywords: reproducible
Attachment #8646116 - Flags: review?(bnicholson) → review+
(In reply to Darrin Henein [:darrin] from comment #9)
> Robin, happy with how the title bar loses it's definition on the white
> background? Not sure it looks right to me...
> 
> https://cloud.githubusercontent.com/assets/8356717/9189049/489f045a-3f98-
> 11e5-955b-5ce54744f35b.png

Tiles have been fixed, other blur issues addressed in bug 1193067.
Flags: needinfo?(randersen)
Attachment #8646116 - Flags: ui-review?(randersen) → ui-review+
5c49889
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attachment #8646116 - Flags: ui-review?(dhenein)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: