Closed
Bug 351986
Opened 18 years ago
Closed 18 years ago
2D canvases appear upside down on OS/2
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mozilla, Assigned: mozilla)
Details
(Keywords: verified1.8.1.1, Whiteboard: [Fx 2.0.0.1])
Attachments
(1 file, 1 obsolete file)
1.66 KB,
patch
|
vlad
:
review+
roc
:
superreview+
beltzner
:
approval1.8.1-
dveditz
:
approval1.8.1.1+
|
Details | Diff | Splinter Review |
The canvas that is created by the SeaMonkey tab tooltips as well as the canvases that the Firefox Showcase extension creates of normal webpages appear upside down on OS/2 when built with SVG/Canvas support. Canvases created of images have the right orientation.
This is true for both trunk and 1.8 branch.
Assignee | ||
Comment 1•18 years ago
|
||
I wasn't very lucky with my fixes today, but I am going to try this last one. At least it works, even though it doesn't look very nice. But just wrapping the for line itself into #ifdefs breaks my syntax hightlighting...
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Attachment #237548 -
Flags: superreview?
Attachment #237548 -
Flags: review?
Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 237548 [details] [diff] [review]
Make for loop order dependent on platform
This time really ask for reviews...
Attachment #237548 -
Flags: superreview?(roc)
Attachment #237548 -
Flags: superreview?
Attachment #237548 -
Flags: review?(vladimir)
Attachment #237548 -
Flags: review?
I think you should create a new #define up around here:
http://lxr.mozilla.org/seamonkey/source/content/canvas/src/nsCanvasRenderingContext2D.cpp#2726
say NATIVE_SURFACE_IS_VERTICALLY_FLIPPED
and define it for OS/2 only, then test that in the code.
Assignee | ||
Comment 4•18 years ago
|
||
roc, thanks for the comment. This new patch takes it into account. Instead of messing with the for-loop start and end values it also seemed better to me to just reverse the one instance where the loop variable is used.
Attachment #237548 -
Attachment is obsolete: true
Attachment #238304 -
Flags: superreview?(roc)
Attachment #238304 -
Flags: review?(vladimir)
Attachment #237548 -
Flags: superreview?(roc)
Attachment #237548 -
Flags: review?(vladimir)
Attachment #238304 -
Flags: review?(vladimir) → review+
Attachment #238304 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 5•18 years ago
|
||
Checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•18 years ago
|
||
Comment on attachment 238304 [details] [diff] [review]
Improved patch
I realize that it's late but in my mind it is pretty important for OS/2 to get this into branch (SeaMonkey uses the Canvas feature directly, and there are some popular Firefox extensions out there, too).
As it is OS/2 only and has been on trunk for a few days without adverse effects, I don't think it would disturb the release process.
Attachment #238304 -
Flags: approval1.8.1?
Comment 7•18 years ago
|
||
Already spinning RC2 builds, so the branch is closed and frozen atm ...
Flags: blocking1.8.1.1?
Whiteboard: [Fx 2.0.0.1]
Updated•18 years ago
|
Attachment #238304 -
Flags: approval1.8.1? → approval1.8.1-
Assignee | ||
Comment 8•18 years ago
|
||
Comment on attachment 238304 [details] [diff] [review]
Improved patch
OS/2 only fix, trunk tested.
Attachment #238304 -
Flags: approval1.8.1.1?
Comment 9•18 years ago
|
||
Comment on attachment 238304 [details] [diff] [review]
Improved patch
approved for 1.8 branch, a=dveditz for drivers
Attachment #238304 -
Flags: approval1.8.1.1? → approval1.8.1.1+
Updated•18 years ago
|
Flags: blocking1.8.1.1? → blocking1.8.1.1+
Assignee | ||
Comment 11•18 years ago
|
||
Verifying some older bugs.
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1.1 → verified1.8.1.1
You need to log in
before you can comment on or make changes to this bug.
Description
•