Closed
Bug 91828
Opened 23 years ago
Closed 22 years ago
filename not viewable in the helper app dlg
Categories
(Core Graveyard :: File Handling, defect, P2)
Core Graveyard
File Handling
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.4alpha
People
(Reporter: jmd, Assigned: Biesinger)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
bzbarsky
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Bug 57610 fixed "download filename not available" by adding it to the title bar,
but this fix isn't going to fly for X.
The download dialog is a transient window (as it should be), and as such, HAS NO
TITLEBAR under most window managers.
ICCCM says: "The implication is that this window is a pop-up on behalf of the
named window, and window managers may decide not to decorate transient windows
or may treat them differently in other ways. In particular, window managers
should present newly mapped WM_TRANSIENT_FOR windows without requiring any user
interaction, even if mapping top-level windows normally does require interaction."
Updated•23 years ago
|
Comment 1•23 years ago
|
||
spam: over to File Handling. i have not changed the assigned developer [or the
other fields for that matter], so if anyone realizes that a bug should have a
more appropriate owner, go ahead and change it. :)
Component: XP Apps: GUI Features → File Handling
Mass moving bugs that won't get fixed this milestone.
Target Milestone: mozilla0.9.7 → mozilla0.9.9
Note to self: This is a helper app dialog problem, not progress dialog.
No longer depends on: 27609
Comment 6•23 years ago
|
||
the filename is not displayed in the helper app dialog. that is this bug, yes?
if so, this problem isn't limited to linux/unix, since i see it on win2k and mac
10.1.3 as well.
however, the filename *is* displayed in the download progress dialog, on all
platforms. just need to select and scroll (well, drag) to the end of the "To:"
field to see it.
Keywords: pp
OS: Linux → All
Hardware: PC → All
Summary: download filename not viewable on Linux/X → filename not viewable in the helper app dlg
Reporter | ||
Comment 7•23 years ago
|
||
> that is this bug, yes?
yes.
> this problem isn't limited to linux/unix, since i see it on win2k and mac
> 10.1.3 as well
It should be in the titlebar on those platforms. On UNIX, this dialog does not
(and should not) have a titlebar.
This adds a <description> to the dialog, with hidden="true".
I added .js code to look for *nix platform (by looking for "X11" in
navigator.appVersion) and if so, sets this description to the same string as
goes into the title on other platforms, and, unhides the <description> element.
Comment 9•23 years ago
|
||
mpt, what's the behaviour on Mac supposed to be?
Comment 10•23 years ago
|
||
Comment on attachment 72532 [details] [diff] [review]
patch, v1.0
r=sgehani
Attachment #72532 -
Flags: review+
Comment 11•23 years ago
|
||
nsbeta1- per ADT triage team
Updated•22 years ago
|
QA Contact: sairuh → petersen
Assignee | ||
Updated•22 years ago
|
Attachment #72532 -
Flags: superreview?(bzbarsky)
Comment 12•22 years ago
|
||
Comment on attachment 72532 [details] [diff] [review]
patch, v1.0
Why is this fix platform-specific? Why not put the filename in the dialog on
all platforms?
See also mpt's UI spec in bug 86640; I much prefer it to what this would look
like....
Attachment #72532 -
Flags: superreview?(bzbarsky) → superreview-
Comment 13•22 years ago
|
||
Is this now fixed with the checkin for Bug 86640? I see the filename in the
window title in the Helper Application dialog in recent builds.
Comment 14•22 years ago
|
||
This bug is about the case when there _is_ no window title (common on Linux).
Assignee | ||
Comment 15•22 years ago
|
||
ok, I have a patch to make the text in this dialog (first two paragraphs) more
like mpt's spec in that bug.
bz, should I keep the URL in the dialog? Does anybody care where the download
comes from?
Comment 16•22 years ago
|
||
> Does anybody care where the download comes from?
Anyone who cares half a whit about security does... Opening a Word document
from file:///something is one thing, opening one from http://randomsite.com is
another.
Assignee | ||
Comment 17•22 years ago
|
||
bah, security. who needs that :)
(not like remote content can link to file: uris. anyway...)
So here's another suggested patch. You're welcome to suggest another wording,
I'm not sure I like it.
Attachment #72532 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #113923 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 18•22 years ago
|
||
taking bug
(for those who don't want to read the patch - I am still displaying the url)
Assignee: law → cbiesinger
Status: ASSIGNED → NEW
Priority: -- → P2
Target Milestone: mozilla1.2alpha → mozilla1.4alpha
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 19•22 years ago
|
||
this is how mozilla looks like with the patch
Comment 20•22 years ago
|
||
-<!ENTITY prompt.label "What should #1 do with this file?">
+<!ENTITY prompt.label "You can choose an application to open the file
with, or you can save it to disk.">
Why this change?
Other than that, I think I like it.... (though all this code should really be
rewritten to use stringbundles and formatStringFromName; but that is a separate
kettle of fish).
Assignee | ||
Comment 21•22 years ago
|
||
oh, I didn't like mentioning mozilla in both paragraphs, so I figured I'd take
mpt's suggestion for that paragraph, too. I can leave it alone, if you prefer.
Comment 22•22 years ago
|
||
Well, that UI spec is somewhat broken there (eg it has a "View As Text" button
that's hard to reconcile with that wording...)
I'd rather leave that part of the wording as-is (though I admit that mentioning
&brandShortName; twice is a little odd...)
Assignee | ||
Comment 23•22 years ago
|
||
ok then, leave the second paragraph unchanged
Attachment #113923 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #113925 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 24•22 years ago
|
||
Comment on attachment 113923 [details] [diff] [review]
patch
(I really wish bugzilla would automatically clear review requests from obsolete
attachments)
Attachment #113923 -
Flags: review?(bzbarsky)
Updated•22 years ago
|
Attachment #113925 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #113925 -
Flags: superreview?(jaggernaut)
Comment 25•22 years ago
|
||
Comment on attachment 113925 [details] [diff] [review]
patch v2
sr=jag
Attachment #113925 -
Flags: superreview?(jaggernaut) → superreview+
Assignee | ||
Comment 26•22 years ago
|
||
Checking in components/ui/helperAppDlg/nsHelperAppDlg.js;
/cvsroot/mozilla/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js,v <--
nsHelperAppDlg.js
new revision: 1.47; previous revision: 1.46
done
Checking in components/ui/helperAppDlg/locale/en-US/nsHelperAppDlg.dtd;
/cvsroot/mozilla/embedding/components/ui/helperAppDlg/locale/en-US/nsHelperAppDlg.dtd,v
<-- nsHelperAppDlg.dtd
new revision: 1.8; previous revision: 1.7
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 27•22 years ago
|
||
Verified on the Win32 2003-03-13-04 trunk and OS X Mach-O 2003-03-13-03 trunk
builds.
Status: RESOLVED → VERIFIED
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
•