Closed
Bug 402923
Opened 18 years ago
Closed 17 years ago
Get rid of CGImageCreate 0x0 size warning
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
Details
Attachments
(1 obsolete file)
This spams the error console in some circumstances; easy fix. CGImageCreate was returning NULL before, so this does everything the same, just without a bunch of extra work and no error print.
Attachment #287741 -
Flags: review?(pavlov)
Updated•18 years ago
|
Attachment #287741 -
Flags: review?(pavlov) → review+
Updated•18 years ago
|
Assignee: nobody → vladimir
Comment 1•18 years ago
|
||
Note - I can reproduce this trivially:
1) Fire up minefield on MacOS
2) Tools->Add-ons
3) Move the mouse over the close box in the upper right
4) Note the error on the console
Not sure if this is serious - so wanted to give STR to see if there is something bad going on there....
Updated•18 years ago
|
Attachment #287741 -
Flags: approval1.9?
Comment 2•18 years ago
|
||
Before we check the walpaper in can we confirm that this doesn't indicate some kind of error?
Comment 3•18 years ago
|
||
Comment on attachment 287741 [details] [diff] [review]
fix
Vlad, if schrep's concerns are valid, please hold off on landing
Attachment #287741 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 287741 [details] [diff] [review]
fix
Killing this patch; this'll be fixed in a different way when I upgrade cairo.
There's no error -- what's happening is that everything is being clipped out, so at some point we start to try to draw something that requires alpha blending and we try to create a temporary 0x0 surface. The situation isn't ideal for now, but it doesn't trigger any other problem, other than the warning.
Attachment #287741 -
Attachment is obsolete: true
Comment 5•18 years ago
|
||
Comment on attachment 287741 [details] [diff] [review]
fix
Clearing approval1.9+.
Attachment #287741 -
Flags: approval1.9+
Assignee | ||
Comment 6•17 years ago
|
||
This got fixed inside cairo.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•