Closed
Bug 190881
Opened 23 years ago
Closed 23 years ago
Horizontal lines are drawn in a image when it's dimensions are scaled in size
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 159796
People
(Reporter: chrispetersen, Assigned: netdragon)
Details
Attachments
(2 files, 1 obsolete file)
Build: 2003-01-27-03 Mach-0 build
Platform: OS X 10.2.3
Expected Results: Horizontal lines should not appear in scaled image
What I got: As the scaled image is being drawn, horiziontal lines will be
randomly drawn in the image.
This problem happens under two conditions:
* When the image is being scaled via the width and height HTML attributes (IMG
element)
* Opening and displaying a large image with automatically image scaling turned
on under Preferences
Also, the problem seems to happen only when the image is being loaded for the
first time (no cache used).
Steps to reproduced:
With automatic image resizing off
1) Open test case called'HTML scaled image'
2) As the image is drawn, horizontal lines appear in the image
With automatic image resizing turned on
1) Open test case called 'image link'
2) Click on link to open large image
3) Same problem as previously mentioned. As the image paints, some horizonal
lines appear in the image
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Attachment #112815 -
Attachment is obsolete: true
| Reporter | ||
Comment 2•23 years ago
|
||
| Reporter | ||
Comment 3•23 years ago
|
||
What do you mean by "automatic resizing off/on"?
Are you talking about the Preference->Advanced->Scripts & Plugins
option of <Allow scripts to:> "Change Images"?
| Reporter | ||
Comment 5•23 years ago
|
||
Oops. Actually, the feature is located here: Preferences - Appearance - Enable
automatic image resizing. It is disabled by default.
| Reporter | ||
Comment 6•23 years ago
|
||
I can't reproduce this issue on either Win32 (2003-01-25-08) trunk or Linux
(2003-01-23-05) trunk. Tested under Windows XP and Redhat 7.3.
Re-assigning (let me know if this is NOT ok)
to Brian Bober since he has an open bug for
remaining auto-image-resizing issues (Bug 190545)
Assignee: jdunn → netdemonz
Comment 8•23 years ago
|
||
This bug isn't specific to the new feature; it can happen with any scaled image
that loads slowly enough that we do progressive rendering. It's probably a bug
with the rounding of twips to pixel values.
| Assignee | ||
Comment 9•23 years ago
|
||
I am not sure that this is related to the new code in auto-scaling since it
didn't touch any of the actual back-end resizing code. (i.e.
nsIDOMHTMLImageElement::setWidth(...) )
Bug 152005?
Can anyone verify whether these issues existed in the past?
I couldn't reproduce with a Thinkpad w/ 544MB ram, PII 366 w/ Windows XP (Didn't
test on Linux due to not having an up to date build). I doubt I can be of much
assistance in this bug under these circumstances.
stuart: Have any ideas of what might be causing this?
Comment 10•23 years ago
|
||
Just tested back to 1.1 and observed the same condition.
Comment 11•23 years ago
|
||
(That is, FizzillaCFM 1.1.)
Comment 12•23 years ago
|
||
Dup.
*** This bug has been marked as a duplicate of 159796 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 13•23 years ago
|
||
The same behavior I noticed with Mozilla 1.3 and 1.4a on Linux (1400x1050,
32-bit). Black horizontal lines appear on large images that are automatically
resized. I'm not quite sure but it seems to me that this happens only if
resizing is done because of image height, not if it is resized because of its
width. Scrolling or resizing the image (using left-click) make them disappear.
Bug 195796 should be fixed in Mozilla 1.4a, shouldn't it?
Updated•8 years ago
|
Product: Core → Core Graveyard
Updated•8 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•