Open
Bug 234859
Opened 21 years ago
Updated 17 years ago
when download a file whose url address is very long, the save dialog misses its buttons (dialog is clipped/cut at the bottom)
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: eagle.lu, Unassigned)
References
Details
Attachments
(3 files, 1 obsolete file)
User-Agent:
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.4.1) Gecko/20040102
The popup window is mess. User can't find the OK and Cancel buttons.
Reproducible: Always
Steps to Reproduce:
1 open the url:http://www.mozilla.org/quality/networking/testing/datatests.html
2 click the link:"the hats were my idea" in the table
Actual Results:
an openning dialog displayed,drag the window to the left
the 'ok' and 'cancel' button can not be find.
In fact, the popup window is mess.
Expected Results:
User should get a clean window.
Heh that's pretty messed up, honkin' dialog...
Confirmed in:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040218
Firefox has a normal-sized dialog, the title's munged up though, overlapping
characters and such.
Status: UNCONFIRMED → NEW
Component: Browser-General → XP Apps: GUI Features
Ever confirmed: true
Comment on attachment 141726 [details] [diff] [review]
I set the max title length of the helper window
Hi, Bz,
Can you give r?
Attachment #141726 -
Flags: review?(bzbarsky)
![]() |
||
Comment 4•21 years ago
|
||
Comment on attachment 141726 [details] [diff] [review]
I set the max title length of the helper window
First, if we're going to cut off part of the name we should be cutting off the
beginning, not the end (so the extension (sigh) is visible).
Second, this should be doable with a crop on the XUL element in question, I
would think.
Attachment #141726 -
Flags: review?(bzbarsky) → review-
![]() |
||
Comment 5•21 years ago
|
||
Also, I'm not really a good person to ask for UI reviews... one of the UI peers
would be better.
Comment on attachment 141726 [details] [diff] [review]
I set the max title length of the helper window
Thanks BZ
David,
Can you give r?
Attachment #141726 -
Flags: review- → review?(hyatt)
Attachment #141726 -
Attachment is obsolete: true
Thanks BZ's comments. I modified the patch according to your comments.
Comment on attachment 142727 [details] [diff] [review]
I cut off the filename from the beginning.
David,
Can you give r to this path?
Attachment #142727 -
Flags: review?(hyatt)
Attachment #141726 -
Flags: review?(hyatt)
Attachment #142727 -
Flags: review?(hyatt) → review?(neil.parkwaycc.co.uk)
Comment on attachment 142727 [details] [diff] [review]
I cut off the filename from the beginning.
this is not an endorsement, i don't think the patch followed bz's review
comments
Comment 10•21 years ago
|
||
Comment on attachment 142727 [details] [diff] [review]
I cut off the filename from the beginning.
crop in the middle and use xul for that.
Attachment #142727 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Comment 11•21 years ago
|
||
arg, I only now realized that the summary of this bug and this patch are talking
about two different things: Summary about URL, patch about filename.
hm... where do we get the filename for a data: url from?
![]() |
||
Comment 12•21 years ago
|
||
http://lxr.mozilla.org/seamonkey/source/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js#244
Similar issues in contentAreaUtils, by the way.
Comment 13•21 years ago
|
||
The buttons are cropped because the slightly long file name forces a additional
wrap of the text describing the download type. If the file name were extremely
long, long enough to cause an additional wrap, then the buttons would be
completely inaccessable.
I'll attach a comparison screenshot with less cropped buttons because the file
name is short.
Comment 14•21 years ago
|
||
Compare the position of "located at:" within the two screen shots. In this
example the text has not been wrapped down another line, thus leaving enough
room in the window to show the buttons at the bottom.
Is it possible to make the default size of this dialog box capable of handling
a a very long file name size? Even if it were to wrap down two or three
lines?
Comment 15•21 years ago
|
||
*** Bug 249830 has been marked as a duplicate of this bug. ***
Comment 16•20 years ago
|
||
Interesting solution for croping names can be seen in Apples' Safari.
URL/file name is actually clipped in the midle.
The front and end parts are still visible.
The middle part is substituted by "...".
algorithm:
input: S -input string
L - requested length
output: O - output string
if ( lenght(S) < L)
O=S;
else
L1 = (L-3)/2; # half of requested string without elipsis
O = substr(S,0,L1); # head part
O .= "..."; # elipsis part
O .= substr(S,L-L1,L1); # tail part
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
OS: Linux → All
Summary: when download a file whose url address is very long,the save dialog → when download a file whose url address is very long, the save dialog misses its buttons (dialog is clipped/cut at the bottom)
Comment 17•19 years ago
|
||
This problem now exists in Linux+SeaMonkey since 1.0.2 and 1.0.3. I had never noticed it before and regularly download files.
Shouldn't the window issue a recalculate vertical size and shrink to fit after it has added all its child widgets.
Comment 18•18 years ago
|
||
WFM on Mac OS X. I hit the link and the mp3 plays. If I select the 'File'->'Save Page as...' menu, it provides the filename "(audio_mp3 Object)", which is at least reasonable.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007072901 Minefield/3.0a7pre
Comment 19•17 years ago
|
||
Filter "spam" on "guifeatures-nobody-20080610".
Assignee: guifeatures → nobody
QA Contact: general → guifeatures
You need to log in
before you can comment on or make changes to this bug.
Description
•