Closed
Bug 77334
Opened 25 years ago
Closed 2 years ago
images not always clipped as they should be
Categories
(Core Graveyard :: Image: Painting, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Future
People
(Reporter: atontti, Assigned: tor)
References
Details
(Whiteboard: fix in hand, r/sr/a needed)
Attachments
(1 file, 3 obsolete files)
|
964 bytes,
patch
|
Details | Diff | Splinter Review |
I noticed a bug in the fix for bug 74270 and I reported it. Despite that
the buggy patch was reviewed and checked in to the trunk.
So I am opening a new bug for fixing nsImageGTK::Draw and
nsImageGTK::DrawScaled.
We should be clipping the source rectangle with decoded rectangle (mDecoded*)
but now instead of clipping we are moving the source rectangle in some
situations.
| Reporter | ||
Comment 1•25 years ago
|
||
| Reporter | ||
Comment 2•25 years ago
|
||
comments or r/sr needed.
Comment 3•25 years ago
|
||
pavlo, tor, reviews?
Summary: [FIX] images not always clipped as they should be → images not always clipped as they should be
Whiteboard: fix in hand, need r/a
| Reporter | ||
Comment 5•25 years ago
|
||
| Reporter | ||
Comment 6•25 years ago
|
||
In one point I had mixed up width and height although comment was right :(
Comment 7•25 years ago
|
||
can somebody show a test case so we can see the affect of this
and make some guesses about how wide spread the bug might appear.
need to shut down 0.9. don't want to take this if its not critcal
| Reporter | ||
Comment 8•25 years ago
|
||
Not critical for 0.9
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 9•25 years ago
|
||
can you post a new diff against the trunk since most of the patch here is
already in the tree.
| Reporter | ||
Comment 10•25 years ago
|
||
There don't seem to be need for updating the current diff (id=32018).
It is still valid.
| Reporter | ||
Comment 11•25 years ago
|
||
r/sr needed for the updated patch.
Comment 12•25 years ago
|
||
let's land this in 0.9.2. let drivers know if this creates problems. thanks.
somebody jump on the reviews...
Target Milestone: mozilla0.9.1 → mozilla0.9.2
| Assignee | ||
Comment 13•25 years ago
|
||
r=tor
| Reporter | ||
Updated•25 years ago
|
Whiteboard: fix in hand, need r/a → fix in hand, sr/a needed
| Reporter | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 14•25 years ago
|
||
*** Bug 84080 has been marked as a duplicate of this bug. ***
Comment 15•25 years ago
|
||
Maybe you could test it with GIFs from the duplicate bug.
Comment 16•25 years ago
|
||
what's the current status?!
| Reporter | ||
Comment 17•25 years ago
|
||
Bug 84080 is not a dup of this bug. I marked 84080 as invalid. More information
can be found at that bug.
| Reporter | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 19•24 years ago
|
||
what's the current status of this one?!
Comment 20•24 years ago
|
||
Comment 21•24 years ago
|
||
| Reporter | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
| Reporter | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Comment 22•24 years ago
|
||
Are the attached patches valid, invalid, in need of review, or super-review?
| Reporter | ||
Updated•24 years ago
|
Attachment #31985 -
Attachment is obsolete: true
| Reporter | ||
Comment 23•24 years ago
|
||
Kelly Price: no, this is not related to bug 22607 and bug 84080 is a dup of
bug 22607 (libpr0n doesn't implement DISPOSE_OVERWRITE_BGCOLOR properly).
Azrael AOD: problems with attachment 49331 [details] (image/gif) are happening due
bug 22607.
--
This bug is about incorrect clipping code in Mozilla's GTK code for Linux and
Unix. If mDecodedX1 or mDecodedY1 are nonzero Draw/DrawScaled() will move
region - not clip it to fit inside mDecoded*. Normally mDecodedX1 and mDecodedY1
are zero so you won't see this bug.
| Reporter | ||
Updated•24 years ago
|
Attachment #49331 -
Attachment is obsolete: true
| Reporter | ||
Comment 24•24 years ago
|
||
Comment on attachment 32018 [details] [diff] [review]
updated patch
I already have r=tor for this patch but I need sr= and moa= if I have
understood right.
pavlov, could you help?
Attachment #32018 -
Flags: review+
Comment 26•24 years ago
|
||
tor is rewriting this code.. not sure how useful this patch still is...
Comment 27•24 years ago
|
||
the bug # for tor's rewrite is bug 121015
Comment 28•24 years ago
|
||
The Target Milestone (0.9.7) is passed. This bug should be retargeted.
The fix for bug 121015 was checked in on 2002-02-22. Is the attached
patch still necessary? If not, this bug should just be closed.
Comment 29•24 years ago
|
||
is this bug still needed? Asko, are you still working on this?
| Reporter | ||
Updated•24 years ago
|
Attachment #32018 -
Attachment is obsolete: true
| Reporter | ||
Comment 30•24 years ago
|
||
| Reporter | ||
Comment 31•24 years ago
|
||
The bug doesn't seem to be fixed so I made an updated patch. I don't have time
to compile or test it.
You can see the problem more clearly by comparing codes of "clip to decode region"
and "clip to drawing surface" in the current version of nsImageGTK::Draw().
I'm currently on leave of my official duties so I am reading my email irregularly.
To tor.
Assignee: atontti → tor
Status: ASSIGNED → NEW
Keywords: mozilla0.9.9 → mozilla1.0
Whiteboard: fix in hand, sr/a needed → fix in hand, r/sr/a needed
Target Milestone: mozilla0.9.7 → mozilla1.0
Updated•24 years ago
|
Component: ImageLib → Image: GFX
QA Contact: tpreston → image.gfx
You need to log in
before you can comment on or make changes to this bug.
Description
•