Open Bug 764524 Opened 12 years ago Updated 2 months ago

Comment out bug 693938's noisy NS_WARNING about transparent content

Categories

(Core :: Layout, defect, P4)

ARM
Android
defect

Tracking

()

People

(Reporter: cpeterson, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 693938 added an NS_WARNING about transparent content with displayports. Unfortunately, this warning can get VERY noisy when Fennec is taking screenshots of web pages.

blassey says, "that warning should probably be removed. it's not useful."


I/Gecko ( 8965): WARNING: We don't support transparent content with displayports, force it to be opqaue: file /Users/cpeterson/Code/mozilla/central/layout/base/nsDisplayList.cpp, line 639
I/Gecko ( 8965): WARNING: We don't support transparent content with displayports, force it to be opqaue: file /Users/cpeterson/Code/mozilla/central/layout/base/nsDisplayList.cpp, line 639
I/Gecko ( 8965): WARNING: We don't support transparent content with displayports, force it to be opqaue: file /Users/cpeterson/Code/mozilla/central/layout/base/nsDisplayList.cpp, line 639
I/Gecko ( 8965): WARNING: We don't support transparent content with displayports, force it to be opqaue: file /Users/cpeterson/Code/mozilla/central/layout/base/nsDisplayList.cpp, line 639
Comment out bug 693938's noisy NS_WARNING about transparent content. blassey says, "that warning should probably be removed. it's not useful."
Assignee: nobody → cpeterson
Attachment #632814 - Flags: review?(roc)
Status: NEW → ASSIGNED
I actually think this warning could be important. Why are we hitting it?
blassey, in bug 693938, romaxa marked XUL Fennec's checkerboard layer as RGB24 and CONTENT_OPAQUE. Native Fennec's CheckerboardImage.java is a RGB565 CairoImage, but we don't seem to specify that the checkerboard is opaque. Is that set elsewhere or not applicable to Native Fennec?
Cwiiis, does this layout warning about our root layer not being opaque look like something we should fix? I see this warning all the time when Fennec is saving screenshots:

I/Gecko ( 8965): WARNING: We don't support transparent content with displayports, force it to be opqaue: file /Users/cpeterson/Code/mozilla/central/layout/base/nsDisplayList.cpp, line 639
(In reply to Chris Peterson (:cpeterson) from comment #4)
> Cwiiis, does this layout warning about our root layer not being opaque look
> like something we should fix? I see this warning all the time when Fennec is
> saving screenshots:
> 
> I/Gecko ( 8965): WARNING: We don't support transparent content with
> displayports, force it to be opqaue: file
> /Users/cpeterson/Code/mozilla/central/layout/base/nsDisplayList.cpp, line 639

I recall we fixed something along these lines, perhaps bug 733607? Is this just an issue with taking of screenshots? It wouldn't hurt to fix it, certainly - Cc'ing kats in case his memory is fresher than mine.
I don't recall anything about this, sorry :( I don't think I was involved in bug 733607 either.
(In reply to Chris Lord [:cwiiis] from comment #5)
> I recall we fixed something along these lines, perhaps bug 733607? Is this
> just an issue with taking of screenshots? It wouldn't hurt to fix it,

I don't know if this issue only affects screenshots, but it is triggered every time we take a screenshot.
(Just as an aside, if you do land this patch, please fix the typo: s/opqaue/opaque/. It's driving me nuts now!)
kats, my patch already includes the spelling fix. :)
Status: ASSIGNED → NEW
Priority: -- → P4
Comment on attachment 632814 [details] [diff] [review]
comment-out-warning.patch

Withdrawing r=? until roc's question can be properly answered.
Attachment #632814 - Flags: review?(roc)
Assignee: cpeterson → nobody
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
Severity: normal → S3
Attachment #9384343 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: