Bug 140485 - konqueror does not find all NS plugins
Summary: konqueror does not find all NS plugins
Status: RESOLVED FIXED
: 144648 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: KDE (show other bugs)
Version: Final
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Stephan Binner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 09:20 UTC by Dirk Stoecker
Modified: 2006-04-24 11:28 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
kdebase3 patch (965 bytes, patch)
2006-04-21 16:04 UTC, Lubos Lunak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Stoecker 2005-12-21 09:20:10 UTC
Since 9.x releases I have the problem, that konqueror does not find all the NS plugins, which are provided (especially the missing acroread plugin is annoying).

Here a list of /usr/lib/browser-plugins/:
-rw-r--r--    1 root root     856 2004-05-20 23:34 flashplayer.xpt
lrwxrwxrwx    1 root root      23 2005-12-05 11:11 gxineplugin.so -> ../gxine/gxineplugin.so
-rwxr-xr-x    1 root root 2096844 2004-05-20 23:34 libflashplayer.so
-rwxr-xr-x    1 root root  470977 2005-12-08 08:04 mplayerplug-in-gmp.so
-rw-r--r--    1 root root     981 2005-12-08 08:04 mplayerplug-in-gmp.xpt
-rwxr-xr-x    1 root root  471065 2005-12-08 08:04 mplayerplug-in-qt.so
-rw-r--r--    1 root root     981 2005-12-08 08:04 mplayerplug-in-qt.xpt
-rwxr-xr-x    1 root root  471109 2005-12-08 08:04 mplayerplug-in-rm.so
-rw-r--r--    1 root root     981 2005-12-08 08:04 mplayerplug-in-rm.xpt
-rwxr-xr-x    1 root root  472453 2005-12-08 08:04 mplayerplug-in.so
-rwxr-xr-x    1 root root  471349 2005-12-08 08:04 mplayerplug-in-wmp.so
-rw-r--r--    1 root root     981 2005-12-08 08:04 mplayerplug-in-wmp.xpt
-rw-r--r--    1 root root     981 2005-12-08 08:04 mplayerplug-in.xpt
-rwxr-xr-x    1 root root   63076 2005-10-05 22:09 nphelix.so
-rwxr-xr-x    1 root root    5086 2005-10-05 22:09 nphelix.xpt
lrwxrwxrwx    1 root root      52 2005-11-15 18:52 nppdf.so -> ../../X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so

Of these only nphelix.so, libflashplayer.so and gxineplugin.so are recogniced.
Especially the nppdf.so is missing.

Firefox uses the Acrobat Reader to display PDF's, so the plugin itself seems to be valid and correct.
Comment 1 Dirk Mueller 2005-12-21 12:41:32 UTC
so you don't have kpdf installed and don't want to use it? Otherwise its okay that you get kpdf and not acroread (we prefer it for various reasons, especially the latter being open source). 

Comment 2 Dirk Stoecker 2005-12-21 14:31:48 UTC
I have kpdf, but kpdf has still many disadvantages to acroread. So if the acroread plugin is installed, I should have the option to use it. But I don't have the choice, as the plugin is not recogniced.

It is not the fact that kpdf is prefered (which can be ruled by the settings for pdf mime-type), but that I have no choice.

BTW: Also the mplayer plugins are missing (comming from PackMan repository).
Comment 3 Dirk Stoecker 2006-03-10 10:40:57 UTC
A solution for the missing Acrobat plugin would be following line executed before konqueror start:

export LD_PRELOAD="/usr/X11R6/lib/libXm.so.3 $LD_PRELOAD"

Does this help to find a general solution for the topic?
Comment 4 Lubos Lunak 2006-04-20 16:12:15 UTC
> Of these only nphelix.so, libflashplayer.so and gxineplugin.so are recogniced.
What do you mean with this? If you go in Konqueror's settings to Plugins, which plugins are listed? Does the list change if you search for new plugins manually?
Comment 5 Dirk Stoecker 2006-04-20 16:47:00 UTC
The 3 mentioned plugins are detected, all the others are not. Neither automatically nor manually.

I think that plugins are not recogniced, when they require some link libraries, which are not in library search path (as noted in comment #3). When I change the LD_PRELOAD as in comment #3, then the manual plugin search finds the nppdf plugin (till the next start without the line). But this is a fix which has some unwanted side-effects.

So either there are missing soft-links, wrong library paths or missing path entries somewhere in the system. I don't know the internals that good to know which one of these is the basic reason.

Additional I would suggest to expand the plugin dialog a bit, so it actually reports all the plugins, which it found, including the ones it could not load (possibly best with a message why).
Comment 6 Lubos Lunak 2006-04-21 16:04:48 UTC
Created attachment 79479 [details]
kdebase3 patch
Comment 7 Lubos Lunak 2006-04-21 16:05:23 UTC
This one should take care of it.
Comment 8 Lubos Lunak 2006-04-21 16:06:02 UTC
*** Bug 144648 has been marked as a duplicate of this bug. ***
Comment 9 Lubos Lunak 2006-04-21 16:08:28 UTC
For the time being running 'LD_PRELOAD=/usr/X11R6/lib/libXt.so.6 nspluginscan' will detect all plugins correctly.
Comment 10 Stephan Binner 2006-04-24 11:28:03 UTC
Submitted package with patch.