Closed
Bug 1464927
Opened 6 years ago
Closed 6 years ago
animated SVG pageAction in address bar not shown with WebRender
Categories
(Core :: Graphics: WebRender, defect, P1)
Core
Graphics: WebRender
Tracking
()
VERIFIED
FIXED
mozilla62
People
(Reporter: dennis.lissov, Assigned: aosmond)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
application/x-xpinstall
|
Details | |
(deleted),
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Build ID: 20180528100448
Steps to reproduce:
Launch Firefox with WebRender enabled
Install Brief 2.5.6 from AMO.
Open https://en.wikipedia.org/w/api.php?action=featuredfeed&feed=featured&feedformat=atom
If the pageAction icon is in the "Page actions" menu, right click it there and "Show in address bar".
Actual results:
The icon in the address bar is blank (not even any of the frames as the icon never fades to blank).
Expected results:
The page action icon is set to "/icons/brief.svg#pulsing", which is a CSS animated version, so the icon's animation should play (to indicate this is a feed preview page and Brief can be used to subscribe). This does work correctly in browser tabs or in the "Page actions" menu, but not in the address bar.
Updated•6 years ago
|
Component: Untriaged → Graphics: WebRender
Product: Firefox → Core
Comment 1•6 years ago
|
||
Doesn't seem like it's a blob-images bug (disabling invalidation or blobs does nothing)
Updated•6 years ago
|
Blocks: stage-wr-nightly
Priority: -- → P1
Comment 2•6 years ago
|
||
Andrew, does this look like some sort of imagelib bug to you?
Flags: needinfo?(aosmond)
Comment 3•6 years ago
|
||
possibly the same root cause as https://bugzilla.mozilla.org/show_bug.cgi?id=1459760
Reporter | ||
Comment 4•6 years ago
|
||
I've tried bisecting this bug. Note that the steps to reproduce from the original report don't work for builds before https://hg.mozilla.org/integration/mozilla-inbound/rev/07ab807639ee as Brief did not use the problematic icon in that case. However, the icon from Brief still reproduces the problem.
This is not a recent regression. Builds at least down to 2017-07-28 reproduce the same bug with WebRender enabled. Did not test earlier builds as they use different prefs to enable WebRender.
Reporter | ||
Comment 5•6 years ago
|
||
Attaching a minimal reproducer that can be used for old builds. Uses browser_action instead of page_action, but the same bug is observed with it.
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•6 years ago
|
||
Not sure this needs to block enabling WR on nightly. Certainly needs to be fixed before shipping though.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Flags: needinfo?(aosmond)
Assignee | ||
Comment 7•6 years ago
|
||
XUL doesn't properly fallback if there is no image container. We never give an image container for animated images. I need to look at the lingering concerns on why I disabled animated SVG image containers, and consider how best to reorganize the layout to fallback properly in general.
Assignee | ||
Comment 8•6 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a00d9d4e695b0a8385f410bd6e5604c802bc3c59
Attachment #8986452 -
Flags: review?(tnikkel)
Comment 9•6 years ago
|
||
Comment on attachment 8986452 [details] [diff] [review]
0001-Bug-1464927-Make-nsImageBoxFrame-fallback-from-WebRe.patch, v1
Review of attachment 8986452 [details] [diff] [review]:
-----------------------------------------------------------------
It seems like you are using the temp error draw result as a sentinel and not really to indicate a temporary error. Would it be better if you made nsImageBoxFrame::CreateWebRenderCommands return a bool as well as a draw result to indicate if it was succesful?
Attachment #8986452 -
Flags: review?(tnikkel)
Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #9)
> Comment on attachment 8986452 [details] [diff] [review]
> 0001-Bug-1464927-Make-nsImageBoxFrame-fallback-from-WebRe.patch, v1
>
> Review of attachment 8986452 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> It seems like you are using the temp error draw result as a sentinel and not
> really to indicate a temporary error. Would it be better if you made
> nsImageBoxFrame::CreateWebRenderCommands return a bool as well as a draw
> result to indicate if it was succesful?
Yes, you are right. I made it a Maybe.
Attachment #8986452 -
Attachment is obsolete: true
Attachment #8986732 -
Flags: review?(tnikkel)
Updated•6 years ago
|
Attachment #8986732 -
Flags: review?(tnikkel) → review+
Comment 11•6 years ago
|
||
Pushed by aosmond@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/39936912aca9
Make nsImageBoxFrame fallback from WebRender consistently with nsImageFrame. r=tnikkel
Comment 12•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Updated•6 years ago
|
Flags: qe-verify+
Comment 13•6 years ago
|
||
I'm not able to reproduce this issue, using the exact STR from Comment 0, Firefox Nightly (2018-05-28) under Ubuntu 16.04 (x64). Denis, can you still reproduce the issue? if yes, can you give me the updated steps?
Flags: needinfo?(dennis.lissov)
Reporter | ||
Comment 14•6 years ago
|
||
Fixed for me since the patch for this bug landed.
Flags: needinfo?(dennis.lissov)
Comment 15•6 years ago
|
||
I could reproduce this issue in original Nightly v62.0a1 (2018-05-28), but not fix build Nightly v62.0a1 (2018-06-22), Beta v62.0b3 or in Nightly v63.0a1 (2018-06-27).
This issue is verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•