Closed
Bug 89414
Opened 23 years ago
Closed 23 years ago
A blank application description leads to weird behavior of the helper app dialog
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bzbarsky, Assigned: mscott)
References
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
After bug 88066 got fixed, if the helper app dialog is spun up with an empty
string for the application description (but a valid and existing nsIFile for the
handler) the following behavior is observed:
1) The dialog correctly shows the app filled in (based on filename) but the
"Save to Disk" radio button is selected.
2) When the "Open Using" radio button is selected by the user the "OK" button
becomes inactive.
This is _extremely_ confusing to the user.
This bug will naturally disappear if bug 86640 is fixed.
Assignee | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
i cannot seem to repro this [using 2001.07.05.08-trunk comm, linux], but perhaps
i'm misunderstanding it?
here are the steps i took:
1. went to helper apps panel in prefs dialog and created the following type:
Description: [blank]
extension: mp3
mime: audio/mpeg
app to handle: /usr/bin/xmms
2. clicked on an .mp3 file.
result: helper app dialog appeared w/"Open with xmms" selected, as expected.
i removed the type from the prefs, and tried this again by creating the type
directly from the helper app dialog [via "Advanced"], and got the same result.
Assignee | ||
Comment 4•23 years ago
|
||
that's weird. I was able to see the problem b4 my fix.
after the dialog comes up click on save then back to open. Is the ok button
still enabled?
Comment 5•23 years ago
|
||
yep, the OK button remains enabled. checked with both themes, to see if that'd
make a difference, but it didn't for me...
Reporter | ||
Comment 6•23 years ago
|
||
sairuh: this is not the mime type description we're talking about, but the
application description. There is no UI to set it by the user; we sort of set
it based on black magic (or registry information) in the MIME code. At the
moment, all the code we have sets it to something non-empty, so the problem is
kinda hard to reproduce. You'd need the next-to-last patch from bug 52441,
before I updated it to set a non-empty description.
mscott: your patch fixes the problem for me... but should that test not test for
"this.choseApp" instead of "this.chooseApp"?
Comment 7•23 years ago
|
||
boris, thx for the clarification!
i'll add a dependency here [well, at least via a testing perspective... ;)].
Depends on: 52441
Assignee | ||
Comment 8•23 years ago
|
||
Assignee | ||
Comment 9•23 years ago
|
||
your right it should be this.choseApp. I made that change. I could have swore I
reproduced this by creating a mime type with no description. I didn't need fixes
from any other bugs. Hmmm
Comment 10•23 years ago
|
||
r=sspitzer
Assignee | ||
Comment 11•23 years ago
|
||
this has been fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
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
•