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

9

ChichipioWilson

7 years ago

Thanks for the quick answer. Too bad that it can't be done (at least for now), but luckily, it's not a show stopper. The pros greatly outweigh the cons in this case.

Report

C

fischer

7 years ago

Found a solution last night. Please check the newest release (20120506)

Report

9

ChichipioWilson

7 years ago

I hadn't been able to test this new version until today, and all I can say now is: excellent!

That was exactly what I was looking for. Now I can freely say that it's made my surfing easier without having to qualify that with any "buts."

Thanks.

Report

gravy

7 years ago

I put the KCM module in root where all the other KCM*.so's are, but it's still not showing up. How do I install it?

I moved it to /usr/lib/kde4/kcm_kpartsplugin.so, but I still can't find it in the control panel..

Report

C

fischer

7 years ago

You should use the regular toolchain, i.e. "make install" to install all necessary files into the right places.
In your case, I guess you missed to install kcm_kpartsplugin.desktop into SOME_KDE_DIR/share/kde4/services/

Report

gravy

7 years ago

Strange. Now I'm really having a problem. I'm using KDE 4.8.x, and what I did was use checkinstall to create a deb package in the chroot, then install it on my main system, so I could use the 'make install' command (clever method!). But now that it's installed correctly, I STILL don't see in my system settings? What could be wrong now?

Report

C

fischer

7 years ago

No idea about that, but maybe people from the Debian KDE project can help you here (esp. the packaging part).
http://pkg-kde.alioth.debian.org/

Report

gravy

7 years ago

Thanks. I figured it was something small like that. I use a choot install to keep my main machine clean, so make install wasn't an option..

P.S. I think I found a small oversight on the GUI design. See for yourself.
http://wstaw.org/m/2012/06/04/snapshot35.png

Report

C

fischer

7 years ago

Should be "fixed" in the new release (20120605)

Report

gravy

7 years ago

Thanks. I figured it was something small like that. I use a choot install to keep my main machine clean, so make install wasn't an option..

P.S. I think I found a small oversight on the GUI design. See for yourself.
http://wstaw.org/m/2012/06/04/snapshot35.png

Report

9

boastt

7 years ago

really awesome with that KCModule and making the vertical smaller!

Report

9

andrew9888

7 years ago

Thank you for making this plugin. It is really awesome. There is one minor issue though. The menu provided by the loaded kpart is not translated although the rest of my system is. For example if I open a PDF in Okular its main menu is in Czech (my system language) but if I open it in Firefox using the plugin, then the menu is in English (but only the items in menubar, the items that show after clicking on one of the menubar items are correctly in Czech).

Report

gravy

7 years ago

Question: You know the new menu support you added? Is it possible to align the menu to the top? Could save a little extra room.

Report

gravy

7 years ago

I deselected certain mime types I don't want KPart to take over, but it's still taking over...

Report

gravy

7 years ago

KPart plugin crashes on me when using with Firefox 11 to view PDF's (probably does it to all other mimetypes though).

Report

gravy

7 years ago

The new version appears to now be working properly! Thanks so much for the plugin! :)

Report

lucke

7 years ago

I'm using the latest kpartsplugin, in Arch. It works okay with pdfs, not so okay with archives (can't readily find other filetypes to test). When I try to download e.g. http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/kpartsplugin-20110823.tar.bz2, I get, both in Opera and Firefox, the "choose your program" dialog instead of the ark kpart. Conversely, sometimes, e.g. when trying to download packages from archlinux.org (say, http://www.archlinux.org/packages/core/i686/mlocate/download/), I get the ark kpart, but with KPartsPlugin* as the contents of the archive - clicking on it shows the preview of the contents of the archive, but using the kpart like that or opening it in external viewer is mightily unwieldy and thus annoying, much more than being presented with the "choose your program" dialog from the beginning. Well, can't find a proper bugtracker, so I'm posting here.

Keep up the good work.

Report

C

fischer

7 years ago

This is most likely not KPartPlugin's fault, but rather a configuration issue of either your browser or KDE. For Firefox, check in its preferences -> Applications that KPartsPlugin is configured for the archive's mime type. In KDE's File Association settings, check that an embeddable viewer is selected for this mime type.

Report

wakajawaka

7 years ago

Sorry for my poor english.
If I want blacklist a mime type, I click on "supported mime types". The "application" list is more bigger than screen dimensions and a lot of mime types are unreachable, out of screen.
Would be better if the lists were sliding rather than fixed.
Thanx

Report

C

fischer

7 years ago

This issue is fixed in the newest release (20120524)

Report

wakajawaka

7 years ago

Very,very good work.
Many thanks!

Report

gravy

7 years ago

I used Kubuntu 11.10, latest kparts plugin, and Firefox 8 for this.

Open 2 pdf files in firefox, for the kparts view, now close one of the tabs, and kparts in the other tab which is open and loaded crashes.

Report

C

fischer

7 years ago

I don't use Kubuntu, but I cannot reproduce the problem with Firefox 10.

Report

gravy

7 years ago

No worries! The problem appears to have resolved itself. Thanks so much for your work!

Report

gravy

7 years ago

"The function may become available once I have figured out how to embed menus and toolbars of KParts inside the plugin."

Also, how is this coming? That'd be so insanely useful! I don't like having to open in external view in order to use right click menus, menu toolbars, etc.

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 pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
20120723
updated Jul 23 2012
added May 21 2010
downloads 24h
0
pageviews 24h 15
System Tags app software