Closed Bug 194956 Opened 22 years ago Closed 21 years ago

After resizing a image, portions of the image's highlight color remain in document

Categories

(Core Graveyard :: GFX: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: chrispetersen, Assigned: sfraser_bugs)

Details

(Keywords: regression, topembed+, Whiteboard: editorbase)

Attachments

(1 file)

Build: 2003-02-24-03
Platform: OS X
Expected Results: Resizing the image should not produce stray artifacts of it's
the its highlight color.
What I got:  After resizing the image, random artifact of the image's highlight
color reamin.


Steps to reproduce:

1) Insert a image in Composer
2) Click on the image to display it's handles
3) Click and drag one of the image's handle to resize the image
4) After resizing the image, notice the artifacts.
Summary: After resizing image, portions of the image's highlight color remain in document → After resizing a image, portions of the image's highlight color remain in document
I can't reproduce this issue under the 2003-02-24-08 Win32 trunk build. Appears
to   be Mac only.
Summary: After resizing a image, portions of the image's highlight color remain in document → After manually resizing a image, portions of the image's highlight color remain in document
-->selection
This is a selection issue since I've seen it in browser also.  It isn't
specifically related to resizing but that is the easiest way to see it.

It is Mac-specific.

Simon--did you think this bug should be reassigned to image lib or ?
Assignee: composer → mjudge
Component: Editor: Composer → Selection
QA Contact: sujay → pmac
Summary: After manually resizing a image, portions of the image's highlight color remain in document → After resizing a image, portions of the image's highlight color remain in document
Whiteboard: editorbase
This is a bug in the nsImageMac, in the gfx code.
Assignee: mjudge → sfraser
Component: Selection → GFX: Mac
Keywords: topembedtopembed+
This patch fixes a simple logic error (you have to truncate the src/dest if you
are within the last swipe). I also fixed some build warnings by removing unused
variables, and #ifdeffed out some code that isn't needed on OS X, relating to
temporary memory stuff.

Note that I detabbed parts of the file and diffed with -b, so the whitespace
looks off. I'll detab the entire file before checking in.
Attachment #116390 - Flags: superreview?(bryner)
Attachment #116390 - Flags: review?(brade)
Comment on attachment 116390 [details] [diff] [review]
Patch to nsImageMac

r=brade but I would like to see topYPos renamed to just topY or change the
others (bottomY, leftX, rightX) to also include "Pos".
Attachment #116390 - Flags: review?(brade) → review+
Comment on attachment 116390 [details] [diff] [review]
Patch to nsImageMac

sr=bryner, though the dstOrigX/Y variables that you removed _are_ used later in
the gtk code that I copied it from; I'm not sure if there's a reason for the
mac code to use these later.
Attachment #116390 - Flags: superreview?(bryner) → superreview+
Probably not, since the rest of the tiling code is very different. Thanks!
Status: NEW → ASSIGNED
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Marking verified in the Mach-0 2003-03-21-03 build under 10.2.4.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: