Closed
Bug 42093
Opened 25 years ago
Closed 23 years ago
[FIX]Window title displays wrong image type
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: chuckie, Assigned: bzbarsky)
References
()
Details
Attachments
(2 files, 1 obsolete file)
5.02 KB,
patch
|
timeless
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
1.06 KB,
patch
|
sicking
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m16) Gecko/20000605
BuildID: 2000060508
The URL http://bugzilla.mozilla.org/showattachment.cgi?attach_id=8383 points to
a JPEG image, but in the title bar Mozilla shows "CGI Image"
Reproducible: Always
Steps to Reproduce:
1.Open http://bugzilla.mozilla.org/showattachment.cgi?attach_id=8383 in Mozilla.
2.Read Title bar
Actual Results: Title Bar reads "CGI Image 396x212 pixels"
Expected Results: Title Bar should read "JPEG Image 396x212 pixels"
Comment 1•25 years ago
|
||
hmm, i see that also--weird. maybe it's getting confused by
showattachment.cgi? Don't know whose problem this would be, sending to parser
for an initial look since I assume they're the ones who set the title in this
case.
Assignee: asa → rickg
Status: UNCONFIRMED → NEW
Component: Browser-General → Parser
Ever confirmed: true
QA Contact: doronr → janc
Waqar: can you please take a look. The parser doesn't set the window title -- it
only reports a <title> if present, which is not the case here.
Assignee: rickg → waqar
This bug has been marked "future" because the original netscape engineer working
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way
-- please attach your concern to the bug for reconsideration.
Comment 5•25 years ago
|
||
I disagree with the future marking...this isn't like other difficult-to-
reproduce or not easily visible bugs...I see this on all bugzilla attachment
pages where the attachment is an image (i.e.
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=5371), and i'm sure it
occurs in other places also. At least pass this around to other engineers who
might have an idea here, please...
Updated•25 years ago
|
Keywords: correctness
Comment 8•24 years ago
|
||
Is this bug still valid? We now do not try to show the image type at all.
Comment 9•24 years ago
|
||
Yes I think it is still valid. If you want to save any of these CGI images, you
have absolutely no way of determining their filetype from Mozilla's info. Is it
a GIF, JPEG or PNG? That information is not available anywhere in Mozilla,
whereas even Netscape 1 provided it.
Another thing that Mozilla won't tell you anywhere is the size of the image in
bytes or kilobytes. Instead one has to save it to disk, then look. Ideally it
would say right on the title bar:
GIF image 100x50 pixels (5kb)
Comment 12•23 years ago
|
||
Now the title is:
filename.foo (Image 400x500 pixels)
It might be nice to bring back the image type, as that's kind of useful info
(specially JPEG vs GIF/PNG: "is it a lossy copy?"). I suggest:
filename.foo (JPEG image, 400x500 pixels)
OS: Windows 98 → All
Hardware: PC → All
![]() |
Assignee | |
Comment 13•23 years ago
|
||
![]() |
Assignee | |
Comment 14•23 years ago
|
||
Taking bug. reviews, anyone? This essentially implements Jeremy's idea. Show
"FOO" if the type is IMAGE/FOO otherwise show the whole mime type (this case
should never really be hit).
Assignee: dcone → bzbarsky
Component: Compositor → XP Apps: GUI Features
Summary: Window title displays wrong image type → [FIX]Window title displays wrong image type
Target Milestone: Future → mozilla0.9.9
Comment 15•23 years ago
|
||
Looks good to me, though this isn't an official r=.
![]() |
Assignee | |
Comment 16•23 years ago
|
||
Attachment #67807 -
Attachment is obsolete: true
Attachment #67851 -
Flags: review+
Comment 17•23 years ago
|
||
Comment on attachment 67851 [details] [diff] [review]
Address some nits from timeless
sr=jag
Attachment #67851 -
Flags: superreview+
![]() |
Assignee | |
Comment 18•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
should we perhaps strip "x-" as well from mimetypes like "image/x-icon"?
![]() |
Assignee | |
Comment 20•23 years ago
|
||
Ho-hum. Forgot about those. :) Sicking, want to review?
Comment on attachment 68159 [details] [diff] [review]
patch to strip out the "X-" if present
r=sicking
Didn't think about those either until i saw the the image/x-icon mimetype
Attachment #68159 -
Flags: review+
Comment 22•23 years ago
|
||
Comment on attachment 68159 [details] [diff] [review]
patch to strip out the "X-" if present
sr=jag
Attachment #68159 -
Flags: superreview+
![]() |
Assignee | |
Comment 23•23 years ago
|
||
second patch checked in.
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•