Closed
Bug 315263
Opened 20 years ago
Closed 18 years ago
Large png image is displayed as a black rectangle
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mdakin, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
A large png image showing package dependencies of a linux distro is displayed as a black rectangle. Firefox should have been able to display it properly.
Reproducible: Always
Steps to Reproduce:
1. Open the link provided.
2.
3.
Actual Results:
A black rectangle
Expected Results:
the png image
Comment 1•20 years ago
|
||
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051106 Firefox/1.6a1
FWIW, that image displays for me, scaled to 6%
See Bugzilla Bug 289864 "Page crashes system (blue screen) with oversized image"
Comment 2•20 years ago
|
||
Confirmed. I see a black rectangle - scaled to 6%. I can zoom it to 100% but it stays black - not the PNG.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051105 Firefox/1.5 ID:2005110503
Comment 3•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051105 Firefox/1.5 ID:2005110516
In a build of 2-Mar-2005 it displays the image but on 7-Mar-2005 the image is black.
Comment 4•20 years ago
|
||
(In reply to comment #3)
> In a build of 2-Mar-2005 it displays the image but on 7-Mar-2005 the image is
> black.
WFM with Mozilla 1.8b2/20050304, reproducible with Mozilla 1.8b2/20050305.
This blacks out for me using Firefox 1.5.0.1 on WinXP and 1.0.7 on Linux (Ubuntu 5.04).
This image appears to have been drawn with the AT&Tdeveloped Graphviz libraries (http://www.graphviz.org/).
I have similar images that can reproduce this problem, all are generated with Graphviz.
I notice the bug 310588 reports the same issue and also appears to have a graphviz test image.
I smell a rat ...
Comment 7•20 years ago
|
||
The image is 7794x9888 in dimensions. It contains a PNG tRNS chunk that
indicates transparency might be present, although no pixels are actually
transparent.
Seamonkey 1.0 shows a black rectangle, then after about 5 minutes it changes to
white for a little while, with properly sized scroll bars, and then back to
black:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0
An "mahowi" build of Firefox-1.5.0.1 displays the image correctly but very
slowly (about 15 minutes). Once displayed, I can pan and scroll about the
image. This build is using libmng to decode pngs:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060202 Firefox/1.5.0.1 (mahowi)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•20 years ago
|
||
I tried a couple of things to see if performance could be improved. I cut the image into 4 tiles and put them in a 2x2 table. Performance was about the same,
about 8 or 9 minutes before anything appeared on screen, with the "mahowi" build.
I converted the image to GIF format, and again got about the same performance. In fact, the "mahowi" build displayed a black rectangle similar to that shown by SeaMonkey. SeaMonkey, on the other hand, did quite well with the 2x2 table. The image appeared on screen in a second or two (similar to IE-7 performance) and I could pan and scroll. The GIF and the table are at
http://www.simplesystems.org/users/glennrp/mozilla/bug315263
I think this performance issue has only to do with the image dimensions and nothing to do with the fact that it is in PNG format.
Comment 9•20 years ago
|
||
*** Bug 328969 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Assignee: nobody → pavlov
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
Comment 10•20 years ago
|
||
I get a black rectangle under XP with Gecko/20060508 Firefox/1.5.0.4
WFM under Linux (knoppix 5.0.1) with debian 1.5.dfsg+1.5.0.3-2
It may have something to do with the fact that my Linux box has 6GB of swap (512M of RAM)
Comment 11•19 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061101 SeaMonkey/1.1b]
Bug can be reproduced with SM 1.1b on Win XP SP 2. Another testcase:
Sample graphs from http://kernel.org/pub/linux/kernel/people/rayl/headergraphs/
1st is OK, 2nd and 3rd are displayed as black.
Updated•19 years ago
|
Assignee: pavlov → nobody
QA Contact: imagelib
Comment 12•18 years ago
|
||
Fixed by bug 371135 (in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007111805 Minefield/3.0b2pre)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•