Open Bug 480747 Opened 15 years ago Updated 2 years ago

page info misreports image size if it's scaled

Categories

(Firefox :: Page Info Window, defect)

defect

Tracking

()

People

(Reporter: vlad, Unassigned)

References

Details

Open up http://www.mozilla.org/projects/shiretoko/ and look in page info's media tab for projects/deerpark/deerpark-icon.png.  In the media list, the info for this shows up with:

Size: 0 KB (0 bytes)
Dimensions: 0px x 0px (scaled to 128px x 128px)

For any image that has a "scaled to" piece, the original dimensions are always 0x0, though the Size is usually correct (or at least non-zero).  Also, this image in particular is 128x128 to begin with; it's not getting scaled to that.

This is probably low-priority polish..
Flags: wanted-firefox3.1?
I'm also seeing this. Sometime I only see "0px x 0px" (no scaling mentioned). When you go to the next image and then back, you see the correct text. I have the impression that the string is printed while the dimensions are not set yet (begin scaled, or being calculated). But that's just a hunch.
Part of this bug sounds like redirect and caching issues. I'm not sure, but it may be related to bug 479328 (that has just been fixed).

There's clearly some problem when displaying this though: 0px x 0px (scaled to 128px x 128px)
We should not display "0px x 0px" when we mean "unknown".
Flags: wanted-firefox3.5?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.