KParts Plugin

Browser

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

25
Score 85.3%
Description:

This software implements a plugin for Netscape-compatible browsers in a Unix environment. This plugin uses KDE's KParts technology to embed file viewers (e.g. for PDF files) into non-KDE browsers. Tested browsers include both Mozilla Firefox and Opera.
With this plugin, you can e.g. view PDF files in Firefox using Okular as an embedded plugin.
Last changelog:

7 years ago

2012-07-23
* Applying patch by Arno Rehn to avoid blacklisting in
Oxygen-transparent style

2012-06-05
* Using URL to create a default filename when saving
copy of document
* Minor change in UI to place long mime type labels
in one line
* Adding push button to copy URL into clipboard

2012-05-29
* Fixing some minor compilation errors
* Adding KCModule (System Settings module) to configure
which mime types shall be supported, removing this
option from the plugin itself

2012-05-24
* Rearranging GUI to be more compact vertically
* Porting from KBibTeX support for custom keyboard shorts
* Refactoring drop-down menu to tree view for mime type
configuration

2012-04-22
* Adding patch by Rex Dieter
set installation directory by parameter to cmake
* Fixing print menu item issue for Okular part
* Menus and toolbars know separators now

2012-04-19
* Various minor changes
* Adding experimental support for menus and toolbars
from embedded part

2012-04-11
* Adding various mimetypes to blacklist

2011-08-23
* Blacklisting some more Java mimetypes: application/java-archive and video/x-javafx

2011-08-06
* Minor code clean-up and refactoring (no functional changes)

2011-06-06
* Added .pot file for translations
(no actual translations yet)

2010-12-16
* Adding "application/googletalk" to blacklisted mime types

2010-12-08
* Adding "application/futuresplash" to blacklisted mime types
* Checking if mime type is valid when reading data to avoid crash
* Minor tweaks in user interface strings

2010-07-23
* Manually raising dialog to select part (if multiple
KParts available for same mime type)
* Minor GUI improvements

2010-07-22
* Showing current mime type in GUI (right to buttons)
* Adding more mime types to built-in blacklisted list
("application/force-download", everything starting
with "x-")
* Adding release date to internal description
(see "about:plugins" in Firefox)

2010-07-06
* Marking some mime types as built-in blacklisted, e.g.
application/x-shockwave-flash
* Adding more mime types to built-in blacklist to avoid
problems with Thunderbird

2010-06-29
* Adding dialog to choose which KPart to use if several
parts are available. User can set preference to avoid
getting this dialog again for the same mime type.

2010-06-27
* Adding comments throughout the code
* Enabling/disabling mime types possible in GUI
(new push button with menu)
* Improved focus handling using code from Jeremy Sanders
* Make installation path 32/64-bit aware
* Minor GUI improvements

2010-06-04
* Major refactoring
* Supported mime types determined through KDE-internal
functions; hard-coded list no longer necessary
* Adding support for keyboard focus.
Tip from Jeremy Sanders (http://barmag.net/)

2010-06-02
* Saving file failed if part was not loaded properly.

2010-06-01
* CMakeLists.txt contains a variable with installation
directory
* New script src/generate-mimetype-includes.sh to enhance
"raw" source files to final files containing a list of
objects (one for each supported mime type)
List of mime types can be controlled via text file
src/mimetypes.txt
* Showing a list of compiled-in/supported mime types
while waiting for the file's data
* Open and save buttons are available even if no part
is available to show the file's data
* Fixing warnings

2010-05-21
* Initial release

poomerang

8 years ago

Is it possible to have the "Search" functions (and maybe others too) in the plugin? Or does it depend on okular kpart's developers?

Report

C

fischer

8 years ago

It is rather a limitation of the Netscape plugin interface (and maybe the X Window system) how to handle e.g. keypresses. If you press Ctrl+F, should the browser take this keystroke to search the webpage, or the plugin to search its PDF? (this is a rhetorical question)
The only practical solution I see right now is that you have to open the PDF in an external viewer, which gives you all features you want.

Report

poomerang

8 years ago

it's not just that, if you put the focus (click) in the plugin part, pressing Ctrl+F just doesn't produce anything, while on browser's focus it would use the browser's find function which, of course, is totally useless. it seems to me "search" is just disabled in the plugin/kpart, which is quite a shame 'cos it forces to use an external program...just like not having the plugin!

Report

C

fischer

8 years ago

Keyboard control is messy if you are using a KPart inside a Netscape browser plugin inside a browser. I don't see an obvious solution, but if you find one I'll be happy to include it into this plugin.

Report

poomerang

8 years ago

it seems to be a kpart's missing feature, it's not possible to use shortcuts at all (at least in okular and some other apps' kpart), no matter if in firefox plugin loader or rekonq or whatever.

BTW, it seems kpartsplugin will make it into Debian - http://ftp-master.debian.org/new/kpartsplugin_20101216-1.html :)

Report

C

fischer

8 years ago

Nice to hear that about Debian.
BTW, my favorite distribution contains it was well: http://packages.gentoo.org/package/www-plugins/kpartsplugin

Report

poomerang

8 years ago

Uhm, I might be wrong, as apparently someone got an Okular Kpart (based on qtbrowserplugin as well) to work inside Firefox and WITH the search function

maybe you want to check it by yourself https://github.com/jeremysanders/okularplugin

Report

poomerang

8 years ago

i've packaged it for (K)Ubuntu and put it in my PPA

https://launchpad.net/~poomerang/+archive/extra

thanks for the great work :)

Report

C

fischer

8 years ago

Thank you for your contribution, too!

Report

thomasjfedora

8 years ago

For posterity, kpartsplugin is since a long time in Fedora. I'm the packager.

yum install kpartsplugin

BTW, thanks for this great software.

Report

C

fischer

8 years ago

Thank you for your contribution!

Report

9

nerdykid

8 years ago

couple quick things, first to anyone who uses Gmail, this plugin screws up the google talk plugin, you need to disable kparts for the google talk mime type. Second, I must say that I think this is a sick idea! the only other problem I have had with it so far (besides the gmail thing) is that it overrides any java applets on the web page. How would I fix this? I did not see any mime type for java to disable. Thanks!

Report

C

fischer

8 years ago

(hm, my answer is not shown in the forum. Maybe it got lost ...).
About the Google Talk problem: Should have been fixed with the next version (see ChangeLog).
About the Java problem. Can you verify this problem with different browsers (Firefox, Opera, Chrome, Arora, ...)? If yes, please provide me with an example URL to test it.

Report

9

nerdykid

8 years ago

I was actually using webmin on my server, so I can't give you the url for that :D However, the same issue shows up here: http://java.com/en/download/help/testvm.xml

I tried it with konquerer, rekonq, opera, firefox, and chrome and none of them had the issue except for chrome. I am using 8.0.552.224 -- stable latest.

heres a screenie: http://img440.imageshack.us/img440/3602/bugi.png

thanks!

Report

9

kudlaty

8 years ago

I can confirm this problem, I'm having the same issue with Firefox 3.6.13.

http://dl.dropbox.com/u/5090693/kpartsjava.png

Report

flyingsheep

8 years ago

me too, firefox 6.0.

about:plugins says otherwise, but the kparts plugin does abduct java applets

Report

C

fischer

8 years ago

Very strange. Do you have a working Java applet? I.e. if you deactivate or even deinstall KPartsPlugin, is the Java applet working again correctly?
If the Java applet is working correctly, I would need the URL where you observed the problem for my own testing.

Report

flyingsheep

8 years ago

ha, tried the fix, and it works!

thank you!

Report

flyingsheep

8 years ago

i’ll try your fix. for the record: the bug didn’t occur in chrome, only in firefox, and it occurred with every java applet on any site.

Report

C

fischer

8 years ago

Hm, I think I found and fixed the problem. Please try release 20110823.

Report

9

roctheme

9 years ago

sudo apt-add-repository ppa:leviatan1/ppa
sudo apt-get update
sudo apt-get install kpartsplugin
cd /usr/lib/mozilla/plugins
sudo ln -s /usr/lib/nsbrowser/plugins/libkpartsplugin.so

If you have adobereader installed too, you must manually remove the npwrapper.nppdf.so softlink from the directory /usr/lib/mozilla/plugins

After this, you have all plugins from Konqueror in Firefox.
Thanks.

Report

9

roctheme

8 years ago

The new /var/lib/dpkg/info/kpartsplugin.postinst script set the link from /usr/lib/mozilla/plugins/libkpartsplugin.so to /usr/lib/nsbrowser/plugins/libkpartsplugin.so automatic.

So you only have to remove the npwrapper.nppdf.so softlink from the directory /usr/lib/mozilla/plugins after every update of adobereader, if you want to use okularpart in firefox, opera or chromium as pdf-plugin.

Report

9

franciscot

8 years ago

The last build againts kubuntu natty with kde 4.6, I add a conflict with acroread/adobereader in the package, Fix the problem? What do you think? I don't know because I don't use adobe reader.

Report

9

roctheme

8 years ago

Hello franciscot,

I use since natty this ppa:
https://launchpad.net/~poomerang/+archive/extra
But your old package for maverick works too in natty with kde 4.6.

But the package from Michele Gastaldo and the old one from you, I cannot detect a conflict with acroread/adobereader.

Due too my poor English, I hope I have understand you correct and you can translate what I try to say.

Report

9

franciscot

8 years ago

The "conflict" is only in the new package for kubuntu 11.04.

Report

7 years ago

2012-07-23
* Applying patch by Arno Rehn to avoid blacklisting in
Oxygen-transparent style

2012-06-05
* Using URL to create a default filename when saving
copy of document
* Minor change in UI to place long mime type labels
in one line
* Adding push button to copy URL into clipboard

2012-05-29
* Fixing some minor compilation errors
* Adding KCModule (System Settings module) to configure
which mime types shall be supported, removing this
option from the plugin itself

2012-05-24
* Rearranging GUI to be more compact vertically
* Porting from KBibTeX support for custom keyboard shorts
* Refactoring drop-down menu to tree view for mime type
configuration

2012-04-22
* Adding patch by Rex Dieter
set installation directory by parameter to cmake
* Fixing print menu item issue for Okular part
* Menus and toolbars know separators now

2012-04-19
* Various minor changes
* Adding experimental support for menus and toolbars
from embedded part

2012-04-11
* Adding various mimetypes to blacklist

2011-08-23
* Blacklisting some more Java mimetypes: application/java-archive and video/x-javafx

2011-08-06
* Minor code clean-up and refactoring (no functional changes)

2011-06-06
* Added .pot file for translations
(no actual translations yet)

2010-12-16
* Adding "application/googletalk" to blacklisted mime types

2010-12-08
* Adding "application/futuresplash" to blacklisted mime types
* Checking if mime type is valid when reading data to avoid crash
* Minor tweaks in user interface strings

2010-07-23
* Manually raising dialog to select part (if multiple
KParts available for same mime type)
* Minor GUI improvements

2010-07-22
* Showing current mime type in GUI (right to buttons)
* Adding more mime types to built-in blacklisted list
("application/force-download", everything starting
with "x-")
* Adding release date to internal description
(see "about:plugins" in Firefox)

2010-07-06
* Marking some mime types as built-in blacklisted, e.g.
application/x-shockwave-flash
* Adding more mime types to built-in blacklist to avoid
problems with Thunderbird

2010-06-29
* Adding dialog to choose which KPart to use if several
parts are available. User can set preference to avoid
getting this dialog again for the same mime type.

2010-06-27
* Adding comments throughout the code
* Enabling/disabling mime types possible in GUI
(new push button with menu)
* Improved focus handling using code from Jeremy Sanders
* Make installation path 32/64-bit aware
* Minor GUI improvements

2010-06-04
* Major refactoring
* Supported mime types determined through KDE-internal
functions; hard-coded list no longer necessary
* Adding support for keyboard focus.
Tip from Jeremy Sanders (http://barmag.net/)

2010-06-02
* Saving file failed if part was not loaded properly.

2010-06-01
* CMakeLists.txt contains a variable with installation
directory
* New script src/generate-mimetype-includes.sh to enhance
"raw" source files to final files containing a list of
objects (one for each supported mime type)
List of mime types can be controlled via text file
src/mimetypes.txt
* Showing a list of compiled-in/supported mime types
while waiting for the file's data
* Open and save buttons are available even if no part
is available to show the file's data
* Fixing warnings

2010-05-21
* Initial release

12345678910
30
product-maker nazir May 12 2015 9 excellent
product-maker auxsvr Apr 06 2014 9 excellent
product-maker Telperien Oct 12 2013 9 excellent
product-maker alvanx Jun 22 2013 9 excellent
product-maker l0ll0lll Mar 28 2013 9 excellent
product-maker avlas Oct 19 2012 9 excellent
product-maker kaznovac Oct 04 2012 9 excellent
product-maker pondogor Jun 06 2012 9 excellent
product-maker ChichipioWilson Jun 04 2012 9 excellent
product-maker caig Jun 02 2012 9 excellent
product-maker boastt May 30 2012 9 excellent
product-maker step-2 Apr 29 2012 9 excellent
product-maker ObiWahn Apr 23 2012 9 excellent
product-maker stavallo Dec 19 2011 9 excellent
product-maker AlexeyK Aug 23 2011 9 excellent
product-maker andrew9888 Jul 14 2011 9 excellent
product-maker integr8e Jun 08 2011 9 excellent
product-maker unikum111 Jun 06 2011 9 excellent
product-maker birdflesh May 23 2011 9 excellent
product-maker valsinats Mar 07 2011 9 excellent
product-maker pmoir Jan 04 2011 9 excellent
product-maker margueritesu Dec 31 2010 9 excellent
product-maker nerdykid Dec 18 2010 9 excellent
product-maker drdanz Dec 15 2010 9 excellent
product-maker aspotashev Dec 11 2010 9 excellent
product-maker kudlaty Dec 10 2010 9 excellent
product-maker Nikoli Nov 06 2010 9 excellent
product-maker jackyohh Oct 31 2010 9 excellent
product-maker roctheme Oct 19 2010 9 excellent
product-maker franciscot Oct 16 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
nazir
May 12 2015
alvanx
Jun 22 2013
pierigno
Jun 07 2012
AlmaTlust
May 15 2012
ObiWahn
Apr 23 2012
birdflesh
May 23 2011
pmoir
Jan 04 2011
margueritesu
Dec 22 2010
drdanz
Dec 15 2010
aspotashev
Dec 11 2010
poomerang
Sep 24 2010
csousa
Jul 26 2010
marcotangaro
Jul 24 2010
kudlaty
Jul 24 2010
jackyohh
Jul 11 2010
mfuhrer
Jul 06 2010
AlejandroNova
Jul 06 2010
lumitoro
Jun 28 2010
Vistausss
Jun 04 2010
trapni
Jun 04 2010
dtritscher
Jun 04 2010
netcelli
Jun 04 2010
zvonSully
Jun 02 2010
dejazmach
May 25 2010
thomasjfedora
May 21 2010
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
20120723
updated Jul 23 2012
added May 21 2010
downloads 24h
0
pageviews 24h 7
System Tags app software