Closed
Bug 1223446
Opened 9 years ago
Closed 9 years ago
Thumbnail blurs do not match thumbnails
Categories
(Firefox for iOS :: Home screen, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1229460
1.2
Tracking | Status | |
---|---|---|
fxios | 1.4+ | --- |
People
(Reporter: bnicholson, Assigned: sleroux)
Details
(Keywords: reproducible)
Attachments
(2 files)
Go to several sites, then check top sites thumbnails. Eventually, thumbnails no longer match their blurs. See screenshot: search.yahoo.com, people.mozilla.org, and The Mozilla Project are all the wrong colors.
Reporter | ||
Comment 1•9 years ago
|
||
I found that this is consistently reproducible if:
* The current tab is home (showing Top Sites)
* I close/reopen the browser, restoring to Top Sites.
Assignee | ||
Comment 2•9 years ago
|
||
I bet this is being caused by the blurring happening on another thread and coming back to do a different cell. I'll investigate.
Assignee: nobody → sleroux
Assignee | ||
Comment 3•9 years ago
|
||
I've reverted moving the blurring operation on the background and kept it on the main thread. This will regress the perf by a tiny bit but it will work. I think what you were mentioning about UIKit behaving badly in the background is manifesting itself in this bug. Looking at the code, the cell that's getting passed through should get captured by the async/sync dispatch blocks [1] so that should be fine. The only thing I can think of is the writing into CGContext in the applyLightEffect logic [2] is behaving badly in the background.
[1] https://github.com/mozilla/firefox-ios/blob/master/Client/Frontend/Home/TopSitesPanel.swift#L456
[2] https://github.com/mozilla/firefox-ios/blob/master/ThirdParty/Apple/UIImage+ImageEffects.m#L264
Attachment #8685554 -
Flags: review?(bnicholson)
Reporter | ||
Updated•9 years ago
|
Attachment #8685554 -
Flags: review?(bnicholson) → review+
Updated•9 years ago
|
Keywords: reproducible
Comment 4•9 years ago
|
||
1.2?
Assignee | ||
Comment 5•9 years ago
|
||
Yup - Landing this now
Assignee | ||
Comment 6•9 years ago
|
||
Landed
88d37a4fd1eb2275d55f80a0671a1babc784d173
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•9 years ago
|
||
Landed
88d37a4fd1eb2275d55f80a0671a1babc784d173
Target Milestone: --- → 1.2
Assignee | ||
Comment 8•9 years ago
|
||
I'm still seeing this issue in the latest TF build (1302). Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•9 years ago
|
Comment 9•9 years ago
|
||
Alongside the blur I am also seeing completely wrong respective Favicons for tiles; I filed bug https://bugzilla.mozilla.org/show_bug.cgi?id=1229460
Assignee | ||
Comment 10•9 years ago
|
||
Closing as a dupe of 1229460 since that's the actual issue
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•