Closed
Bug 114255
Opened 24 years ago
Closed 24 years ago
nsRenderingContextGTK::CreateDrawingSurface doesn't always call UpdateGC
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bbaetz, Assigned: bbaetz)
Details
Attachments
(1 file)
665 bytes,
patch
|
pavlov
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
nsRenderingContextGTK::CreateDrawingSurface has:
if (!mGC)
UpdateGC();
The problem with this is that if we change the clip region, then create a
drawing surface (using mGC as the GC), this new X pixmap will have the old clip
region associated with it.
Since clip regions are inherited, and you have to explicitly reset them to
(0,0,width,height) when drawing to an nsIDrawingSurface (which is apparently not
a bug), this causes problems if the drawing surface's origin is not (0,0)
That if statement has been in there since the original GCCache stuff went in
almost two years ago, and Stuart can't remember why.
patch coming up.
Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Comment on attachment 60971 [details] [diff] [review]
patch
r=pavlov
Attachment #60971 -
Flags: review+
Comment 3•24 years ago
|
||
Comment on attachment 60971 [details] [diff] [review]
patch
sr=jst
Attachment #60971 -
Flags: superreview+
Assignee | ||
Comment 4•24 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 5•24 years ago
|
||
Filed bug 114334 to port the patch to the Xlib gfx land ...
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•