Closed
Bug 112180
Opened 23 years ago
Closed 22 years ago
OK/Cancel buttons pushed off (and long full path to app) bottom of Downloading dlg when Chosen Application string is too long
Categories
(Core Graveyard :: File Handling, defect, P2)
Core Graveyard
File Handling
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.2alpha
People
(Reporter: jdien, Assigned: bugs)
References
Details
(Keywords: polish, Whiteboard: [adt2])
Attachments
(3 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.6) Gecko/20011120
BuildID: 2001112020
When downloading a file like a pdf, if a new application is chosen to open it,
if the name of the new application overflows the original line(s), which it
usually will since the path is included in the application name, the text area
appears to intrude onto the bottom row of buttons, disabling them. This makes
it impossible to complete the download or even to dismiss the dialog.
Reproducible: Always
Steps to Reproduce:
1. download a file, like a pdf.
2. choose a new application to open it from the download dialog that has a long
pathname.
3.
Actual Results: The text area intrudes on the bottom buttons, disabling them.
Expected Results: The bottom buttons should not be partially erased by the text
area and should still be active.
Comment 1•23 years ago
|
||
hi, could you pls attach a screenshot? thx!
i think i might've seen this before...but iirc, the buttons aren't really
disabled --they're certainly horribly drawn, but if you click around 'em
eventually they'll respond...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Resetting component. Looks like a MacOS X problem?
Assignee: law → hyatt
Component: File Handling → XP Toolkit/Widgets
QA Contact: sairuh → jrgm
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Assuming the screenshot above describes the situation in this bug report,
this is not a Mac OS/X problem (screenshot is windows).
I think that anyway you look at it, stuffing a very long filename back into the
label of the radio is going to "grow" the document (as it should), which pushes
the bottom of the document out below the bottom edge of the window (which
doesn't automagically resize, by design).
I think this is an apps issue; need to make some provision in the xul for
dealing with a long filename (maybe easiest just to chop the string if it's
too long; perhaps though there is some way with crop and/or maxheight|width).
Note that there is another way this fails: if there are no spaces in the path,
then the right hand side of the document is what gets pushed offscreen (i.e,
can't access the 'Choose...' button).
back to File Handling (cc: blake if he knows any magic way to make the radio
label "do the right thing")
Assignee: hyatt → law
Component: XP Toolkit/Widgets → File Handling
QA Contact: jrgm → sairuh
OK, John. I guess I'm stuck with this after all.
How about truncating the file name at xx bytes (appending "...")? We do that
kind of thing elsewhere.
Target Milestone: --- → mozilla1.0.1
Comment 6•23 years ago
|
||
:-]
One other option is just to display 'fooBarApp.exe' with no path, if path
is greater than NN characters. (In fact, on windows at least, the exe name
is all that is shown in the dialog when you reopen it after redefining the
handler app).
I'm including a screenshot (OS X).
I tried again and it looks like you're right. What's actually happening is
that the true location of the button is about a half width below the apparent
location of the button and a tad to the left. So it will work if you click
beneath it's apparent location or on its lower edge. The true button location
actually appears for a moment when activated. Still a problem but not fatal.
Comment 8•23 years ago
|
||
*** Bug 114174 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Comment 9•23 years ago
|
||
nsbeta1+ per Nav triage team, should fix in the easiest, safest manner possible,
such as suggested truncations.
Updated•23 years ago
|
Whiteboard: [adt2]
Comment 10•23 years ago
|
||
The revised helper app dialog per bug 86640 will take care of this problem. It
puts the name of the application in a <textbox> so it can't cause this resizing
problem.
Depends on: 86640
Assignee | ||
Comment 12•23 years ago
|
||
Accepting. Patch shortly....
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 13•23 years ago
|
||
resummarize
Summary: download dialog appears disabled when choosing new application → OK/Cancel buttons pushed off bottom of Unknown Content Dialog when Chosen Application string is too long
Updated•23 years ago
|
Whiteboard: [adt2] → [adt3]
Comment 14•23 years ago
|
||
nsbeta1- per Nav triage team
Comment 16•22 years ago
|
||
By the way, this is not MacOSX only problem. Though less severe, MacOS9.x builds
show the same problem.
OS: MacOS X → All
Updated•22 years ago
|
Summary: OK/Cancel buttons pushed off bottom of Unknown Content Dialog when Chosen Application string is too long → OK/Cancel buttons pushed off (and long full path to app) bottom of Downloading dlg when Chosen Application string is too long
Comment 17•22 years ago
|
||
*** Bug 137616 has been marked as a duplicate of this bug. ***
Comment 18•22 years ago
|
||
another side effect of this bug which badly affects the Helper Applications pref
panel: when i encounter the "full path to chosen application" problem in the
Downloading (helper app) dlg, i'm unable to effectively edit from the Helper
Applications pref panel.
why? the full path makes the content of the panel stretch far to the right --so
far that the New, Edit, Remove *and* Reset buttons are no longer visible. the
Preferences window is [currently] not resizeable, at least on platforms such as
win32 and mac os. this makes it nearly impossible to edit or remove such a mimetype.
i'll attach a screenshot which illustrates this problem.
the workaround would be to edit the mimetype via the helper app dlg, not the
preferences panel. unless you've turned off the "always ask me" checkbox --which
makes things more difficult since Reset will be missing when this mimetype is
selected in the pref panel. *then* the workaround is to somehow move focus
(don't select or highlight) off of that mimetype, so that the Reset button appears.
Severity: normal → major
Comment 19•22 years ago
|
||
note how the New, Edit, Remove and Reset buttons are now missing from (clipped
off of) the pref panel.
Comment 20•22 years ago
|
||
The pref panel is covered by bug 138680 (has a patch).
Comment 21•22 years ago
|
||
*** Bug 160638 has been marked as a duplicate of this bug. ***
Comment 22•22 years ago
|
||
*** Bug 167755 has been marked as a duplicate of this bug. ***
Comment 23•22 years ago
|
||
OK. We have three options here:
1) Wait for 86640 to land
2) Use the leafName of the app only, not the full name
3) Call sizeToContent() when the appname changes.
I kinda like item #2 as a temporary measure....
Comment 24•22 years ago
|
||
*** Bug 166230 has been marked as a duplicate of this bug. ***
Comment 25•22 years ago
|
||
*** Bug 159378 has been marked as a duplicate of this bug. ***
Comment 26•22 years ago
|
||
Nav triage team: nsbeta1+/adt2
Comment 27•22 years ago
|
||
*** Bug 173584 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
QA Contact: sairuh → petersen
Comment 28•22 years ago
|
||
*** Bug 170042 has been marked as a duplicate of this bug. ***
Comment 29•22 years ago
|
||
*** Bug 179049 has been marked as a duplicate of this bug. ***
Comment 30•22 years ago
|
||
*** Bug 165052 has been marked as a duplicate of this bug. ***
Comment 31•22 years ago
|
||
*** Bug 181435 has been marked as a duplicate of this bug. ***
Comment 32•22 years ago
|
||
*** Bug 184370 has been marked as a duplicate of this bug. ***
Comment 33•22 years ago
|
||
OK. I see two options here:
1) call sizeToContent() after the path is picked (I dislike this)
2) don't show the whole path (I sorta dislike this too)
There are facilities within XUL for cropping off the leading part of a radio
button label, no?
Anyone have any other suggestions?
Comment 34•22 years ago
|
||
bz: yes, you could use crop="start". however, crop="center" might be a better
idea... not sure...
Comment 35•22 years ago
|
||
*** Bug 185548 has been marked as a duplicate of this bug. ***
Comment 36•22 years ago
|
||
*** Bug 187669 has been marked as a duplicate of this bug. ***
Comment 37•22 years ago
|
||
*** Bug 188531 has been marked as a duplicate of this bug. ***
Comment 38•22 years ago
|
||
i think this particular bug is fixed now, but another has been introduced: bug
189076. resolving this one...
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 39•22 years ago
|
||
Great to finally see this issue getting fixed. Confirming issue has been fixed
on both the CFM (2003-01-12-03) and Mach-O (2003-01-14-07) trunk builds.
Status: RESOLVED → VERIFIED
Comment 40•22 years ago
|
||
*** Bug 177546 has been marked as a duplicate of this bug. ***
Comment 41•22 years ago
|
||
*** Bug 194110 has been marked as a duplicate of this bug. ***
Comment 42•22 years ago
|
||
This bug can't be checked anymore because the decorpressing option goes straight
to decompress and the reset for file-opening option has been removed from the
helper applications preferences.
Comment 43•22 years ago
|
||
It's been removed because now you can edit any type you want directly in the
settings for that type.
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•