Closed
Bug 222501
Opened 21 years ago
Closed 15 years ago
[exthandler] unhelpful error message if helper app not found
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dwitte, Assigned: bzbarsky)
Details
Attachments
(1 file, 1 obsolete file)
22.75 KB,
text/plain
|
Details |
so... i got this unhelpful error message when trying to view a pdf:
/tmp/foo.pdf could not be opened, because an unknown error occurred.
Sorry about that. Try saving to disk first and then opening the file.
turns out /etc/mailcap says 'xpdf' is the helper app for application/pdf, and i
don't have xpdf installed. so |application| at
http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/unix/nsOSHelperAppService.cpp#103
is null.
could we get a more helpful error message, perhaps? :)
(i have an HelperAppService:4 log, which biesi can attach here)
Comment 1•21 years ago
|
||
![]() |
Assignee | |
Comment 2•21 years ago
|
||
So first off, I guess we should return NS_ERROR_FILE_NOT_FOUND here. Looking at
the caller, that should be sufficient to get the "%S could not be opened,
because the associated helper application does not exist. Change the association
in your preferences." error instead.
![]() |
Assignee | |
Comment 3•21 years ago
|
||
Per discussion with biesi, we would like to allow save when this error happens,
or maybe even something more sneaky (like re-posing the helper app dialog).
![]() |
Assignee | |
Comment 4•21 years ago
|
||
Taking.
Assignee: cbiesinger → bzbarsky
Priority: -- → P2
Target Milestone: --- → mozilla1.6alpha
Comment 5•21 years ago
|
||
Comment on attachment 133443 [details] [diff] [review]
Patch for just the error message
this looks fine to me and we should do it in any case
Attachment #133443 -
Flags: review+
![]() |
Assignee | |
Comment 6•21 years ago
|
||
Comment on attachment 133443 [details] [diff] [review]
Patch for just the error message
well, I'd like to check this in then before even doing the main work...
Attachment #133443 -
Flags: superreview?(darin)
Updated•21 years ago
|
Attachment #133443 -
Flags: superreview?(darin) → superreview+
![]() |
Assignee | |
Comment 7•21 years ago
|
||
Comment on attachment 133443 [details] [diff] [review]
Patch for just the error message
This patch is in.
Attachment #133443 -
Attachment is obsolete: true
Updated•16 years ago
|
QA Contact: file-handling
![]() |
Assignee | |
Comment 8•15 years ago
|
||
I'm going to call this fixed. If someone wants to file a separate bug for the pie-in-the-sky bit in comment 3, go for it.
Status: NEW → RESOLVED
Closed: 15 years ago
Priority: P2 → --
Resolution: --- → FIXED
Target Milestone: mozilla1.6alpha → ---
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•