Closed Bug 402923 Opened 18 years ago Closed 17 years ago

Get rid of CGImageCreate 0x0 size warning

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: vlad, Assigned: vlad)

Details

Attachments

(1 obsolete file)

Attached patch fix (obsolete) — Splinter Review
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)
Attachment #287741 - Flags: review?(pavlov) → review+
Assignee: nobody → vladimir
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....
Attachment #287741 - Flags: approval1.9?
Before we check the walpaper in can we confirm that this doesn't indicate some kind of error?
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+
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 on attachment 287741 [details] [diff] [review] fix Clearing approval1.9+.
Attachment #287741 - Flags: approval1.9+
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.

Attachment

General

Created:
Updated:
Size: