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

tittiatcoke

9 years ago

Hi,

I am running snapshot of KDE trunk (svn version). The plugin works fine with KDE 4.5.

With KDE trunk I get the situation that if the plugin is installed, firefox, Chromium, etc directly crashes at startup. There is no real error message, but I guess that there are changes in kparts. I will see if I can dig something more up.

Great Plugin, which covers a missing functionality :-)

Report

C

fischer

9 years ago

I would guess if something changed within KDE, it would no longer compile. Maybe test KPartsPlugin with another KDE version on your system.

Report

tittiatcoke

9 years ago

Hi,

I have packaged your plugin for openSUSE distributions.

Please find the link :

http://software.opensuse.org/search?q=kparts-plugin&baseproject=ALL&lang=en

Report

C

fischer

9 years ago

Ok, linked it on the homepage and a "SUSE" download on the kde-apps.org page

Report

bwinfrey

9 years ago

Awesome to not have to install separate plug-ins, but it crashes ff when mouse-over okular plug-in menus.

Report

C

fischer

9 years ago

Can you please explain in more detail how and when the plugin crashes? Any more details? Start your browser from command line and give me the output, please. E.g. via
firefox >/tmp/output.txt 2>&1

Report

bwinfrey

9 years ago

Turns out it is not really crashing ff. If the menu 'Supported Mime Types | application>' is selected the display is scrambled. Hitting escape key clears the display. Other menu ityems display correctly. The text output was lengthy, and looked like nothing was out of order.

Here are the last lines.
(2243) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 2 offers
okular(2243)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(2243)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(2243)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Terminated

I can make the file available if needed.
Thanks.

Report

marcotangaro

9 years ago

Tried now for the first time...
thanks man... you are a genius :D

Report

AlejandroNova

9 years ago

This is the greatest idea since sliced bread. KDE or not KDE, before this I had issues with plugins. Now I can use almost every KDE app as a plugin. I'd nominate you for Open Source prizes and whatever. The only issue I found is the lack of this default.

[echelon@faeris ~]$ cat .kde/share/config/kpartsplugin-mimetypes.rc
[Blacklisted]
application/x-shockwave-flash=true

Apart from that, I don't really know why wasn't this done before. THANK YOU.

Report

guanx

7 years ago

I've tried this

$ cat .kde/share/config/kpartsplugin-mimetypes.rc
[Blacklisted]
application/x-bzip2=true
application/x-gzip=true
application/zip=true

And kpartsplugin still opens the .zip, .tar.gz and .tar.bz2 files from sourceforge.net and kernel.org.

Did I write the config in a wrong way?

Thanks!

Report

9

kudlaty

9 years ago

Seconded, this is absolutely brilliant. Thanks a bunch!

Report

C

fischer

9 years ago

BTW, thank you for the compliment. :-)

Report

C

fischer

9 years ago

Flash is now (as of 20100706) marked as blacklisted in a built-in list.

Report

gomezhyuuga1

9 years ago

Awesome utility!

Tested on Google Chrome (5.0.375.86) and works fine ^^ / Only I had to create a symlink to /usr/lib/mozilla/plugins/

Report

maarizwan

9 years ago

thanks for kpartplugin, firefox 3.6.x does seem well integrated with kde 4.x now!

thank you for creating kparts plugin!

thanks again... :)

Report

lumitoro

9 years ago

This is the very best effort that I have ever seen to integrate firefox in KDE. Works perfectly in my kubuntu 10.04. That being said, I would like to suggest adding an interface to let the user choose which kpart in the system should open a certain mime type. I'm very happy with the current setup, but I think my suggestion would improve integration with KDE. My point is... IT'S GREAT, and it's just my way of trying to help.

Report

C

fischer

9 years ago

Issue addressed in latest update. Please check if it is working for you.

Report

lumitoro

9 years ago

everything seems to be working perfectly.

Report

gbowden

9 years ago

How do I disable certain mime types from being used with this plugin?

Report

C

fischer

9 years ago

This issue is addressed in the newest release.

Report

lumitoro

9 years ago

Newest release of firefox? I think that in the linux version of firefox(3.0 and forward) you go to:
--->Edit->Preferences
->Applications
and you choose what should be used to open the mime type(ex.: .pdf).

Report

lumitoro

9 years ago

sorry, (ctrl+F5) made the repetition.

Report

lumitoro

9 years ago

Newest release of firefox? I think that in the linux version of firefox(3.0 and forward) you go to:
--->Edit->Preferences
->Applications
and you choose what should be used to open the mime type(ex.: .pdf).

Report

BastianBalthazarreBux

9 years ago

http://bugs.gentoo.org/323565

Report

C

fischer

9 years ago

Thank you for your contribution!

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 6
System Tags app software