Open
Bug 436256
Opened 16 years ago
Updated 2 months ago
Thunderbird should open PDF links (URLs) from message reader directly (e.g. with TB-pdf.js or default pdf app) instead of using external browser to resolve the link
Categories
(Thunderbird :: Message Reader UI, enhancement)
Thunderbird
Message Reader UI
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: liorda, Unassigned)
References
Details
Attachments
(1 obsolete file)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5 I'm getting many emails with links to pdf files (such as "http://domain.com/document.pdf"). thunderbird open the default browser when *all* urls are clicked, regardless of the actual filetype. when the linked file type is not text/html, opening the browser is unnecessary. This happens also with links to images, and all other filestypes that are located on the web. Reproducible: Always Steps to Reproduce: 1. send yourself a message with a link to a pdf file in the body (such as http://domain.com/doc/pdf). 2. get the message from your mail server. 3. click on the link from the thunderbird's message pane. Actual Results: thunderbird opens firefox with the link location. firefox then asks me to open/save the pdf file. Expected Results: when clicking on the link, thunderbird should know this is pdf file and open the default application for pdf viewing itself. it may be the correct response, but a "smarter" Thunderbird would just download the pdf / image file (to a temporary location?) and open the appropriate program, without involving any other, unneeded application.
A link starting with "http:" is (correctly) referred to the browser application. Thunderbird itself is able to issue HTTP requests, e.g., for remote image content. Now one can conclude that it should be possible to directly resolve that link, but it's a bit more complicated than you may think: - the link may end in ".pdf", but this doesn't guarantee that the server will actually send application/pdf back (it may be just a download page); - the server may request authentication, what should Thunderbird do then? So, what you are requesting would imply that Thunderbird resolves the HTTP link itself first, connect to the server, and verifies that what it gets back actually represents something different than a web page or authentication request. Then, it would be treated like an attachment based on the stated MIME type, downloaded to /tmp and opened with the registered application. That functionality exists already in the SeaMonkey suite, which combines various applications (including mail and browser) into one. For Thunderbird, given that it is primarily a mail/news/feeds application, the question is how much browser "intelligence" should be provided beyond remote content.
See Also: → https://launchpad.net/bugs/234349
Updated•2 years ago
|
Severity: normal → --
Component: Mail Window Front End → Message Reader UI
OS: Linux → All
Hardware: x86 → All
Summary: [feature request] thunderbird opens pdf links (urls) in firefox and not directry in the default pdf application → Thunderbird should open PDF links (URLs) from message reader directly (e.g. with TB-pdf.js or the default pdf application) instead of using external browser to resolve the link
Updated•2 years ago
|
Summary: Thunderbird should open PDF links (URLs) from message reader directly (e.g. with TB-pdf.js or the default pdf application) instead of using external browser to resolve the link → Thunderbird should open PDF links (URLs) from message reader directly (e.g. with TB-pdf.js or default pdf app) instead of using external browser to resolve the link
Comment hidden (spam) |
Updated•2 months ago
|
Attachment #9385421 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•