page info misreports image size if it's scaled

NEW
Unassigned

Status

()

Firefox
Page Info Window
9 years ago
6 years ago

People

(Reporter: vlad, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

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?

Comment 1

9 years ago
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".
Duplicate of this bug: 417088
Flags: wanted-firefox3.5?
You need to log in before you can comment on or make changes to this bug.