By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1167 - KPDF browser plugin
Summary: KPDF browser plugin
Status: NEW
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 wishlist
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-08-12 12:06 CDT by Kris
Modified: 2018-05-27 11:00 CDT (History)
1 user (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2012-08-12 12:06:06 CDT
KPDF is a great PDF viewer, but it's extremely annoying to have to download PDFs just to view them. Instead, it would be helpful to have a PDF viewer launch inside the browser, such as with Google Chrome or Adobe Reader+Firefox.

Having the plugin Mozilla-compatible will allow it to work in most browsers.

It should have an option to save PDFs, just in case the user wants to keep the PDF.
Comment 1 Darrell 2012-08-15 21:00:28 CDT
What web browser are you using?
Comment 2 Kris 2012-08-15 21:16:02 CDT
(In reply to comment #1)
> What web browser are you using?

Mostly I use Firefox (Iceweasel here on Debian, from Mozilla Backports).

Sometimes Chrome/Chromium, which has it's own PDF view built in. I'd rather use KPDF, though (Chrome's can be disabled).

Konqueror should be included too if KHTML is still going to be replaced.

Opera should also be included.
Comment 3 Darrell 2012-08-15 22:34:48 CDT
What happens when you do the following:

* Find a PDF file on your hard drive and remember the full path and name.

* In Firefox, select File->Open File.

* In the Firefox file picker dialog, find and attempt to open the PDF file.

* When the pop-up dialog appears asking what to do, select the "Open with" radio button and then select the Browse button.

* In the file picker dialog, select /opt/trinity/bin/kpdf (or whereever kpdf is installed on your system).

* If the file then opens the file in kpdf, select Edit->Preferences->Applications and verify the PDF mime type is now listed.

If you want flexibility with opening mime types try the Open In Browser add-on:

https://addons.mozilla.org/en-us/firefox/addon/open-in-browser/

This add-on will provide the choice to view or download files.
Comment 4 Kris 2012-08-16 08:35:58 CDT
(In reply to comment #3)
> What happens when you do the following:
> 
> * Find a PDF file on your hard drive and remember the full path and name.
> 
> * In Firefox, select File->Open File.
> 
> * In the Firefox file picker dialog, find and attempt to open the PDF file.
> 
> * When the pop-up dialog appears asking what to do, select the "Open with"
> radio button and then select the Browse button.
> 
> * In the file picker dialog, select /opt/trinity/bin/kpdf (or whereever kpdf is
> installed on your system).
> 
> * If the file then opens the file in kpdf, select
> Edit->Preferences->Applications and verify the PDF mime type is now listed.
> 
> If you want flexibility with opening mime types try the Open In Browser add-on:
> 
> https://addons.mozilla.org/en-us/firefox/addon/open-in-browser/
> 
> This add-on will provide the choice to view or download files.

In KPDF, there is no "Preferences" under the Edit menu.

Also, that process isn't for opening programs within Firefox, but opens all programs externally. Even if it opened with Firefox, it's not automatic, as a plugin would be. Using Adobe Reader, PDFs are automatically opened within the browser because Adobe Reader includes it's own browser plugin, but Adobe Reader is proprietary and takes up more storage than KPDF.

I'm not looking for any more flexibility than I already have with opening stuff than I already have (aside from not being able to open PDFs within the browser).

Like I mentioned in the initial report, making the plugin Mozilla-compatible will cover most browsers since most browsers can recognize Mozilla-compatible plugins. This is how things like Flash and Adobe Reader are able to work in so many browsers.

If Google's Pepper API becomes popular, it may be a good idea to eventually do a plugin for that.
Comment 5 Darrell 2012-08-16 10:54:04 CDT
> In KPDF, there is no "Preferences" under the Edit menu.

Not KPDF but Firefox. :-)

I realize you are asking for a dedicated plugin. A reasonable request too. I'm just asking whether using the steps I outlined will suffice as a work-around for Firefox. In my Firefox configuration I have the PDF mime type mapped to KPDF. Yes, KPDF opens as an external app rather than as an internal plugin, but the method works.
Comment 6 Kris 2012-08-16 11:24:41 CDT
(In reply to comment #5)
> > In KPDF, there is no "Preferences" under the Edit menu.
> 
> Not KPDF but Firefox. :-)
> 
> I realize you are asking for a dedicated plugin. A reasonable request too. I'm
> just asking whether using the steps I outlined will suffice as a work-around
> for Firefox. In my Firefox configuration I have the PDF mime type mapped to
> KPDF. Yes, KPDF opens as an external app rather than as an internal plugin, but
> the method works.

I already have a workaround, which is to download PDFs to my tmpfs mounted /tmp directory (avoids unnecessary writes to my flash drive), so having a workaround is not a problem. The only problem is having gotten used to a plugin while still a Windows user, which makes having to use a workaround a little annoying :-)