Bug 325940 - embed tag: kpart initially not shown
Summary: embed tag: kpart initially not shown
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-12 19:04 UTC by Grósz Dániel
Modified: 2023-02-11 03:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
example page which triggers the bug (172 bytes, text/html)
2013-10-12 19:23 UTC, Grósz Dániel
Details
screenshot of embedded pdf part (151.89 KB, image/png)
2013-10-13 14:48 UTC, Dawit Alemayehu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2013-10-12 19:04:26 UTC
If a web page contains an <embed> tag, the kpart is initially not shown. If I scroll the page a bit, or resize the window, the kpart appears.

This hapens both with WebKit and KHTML. It happens with file types that are embedded using a kpart such as pdf and text but not with Flash.

It may be related to Bug 325935. If loading plugins on demand only is enabled, I have to scroll/resize the window both to make the Start Plugin button appear, and after clicking on it to make the actual kpart appear.

Reproducible: Always
Comment 1 Grósz Dániel 2013-10-12 19:23:09 UTC
Created attachment 82810 [details]
example page which triggers the bug
Comment 2 Dawit Alemayehu 2013-10-13 03:45:50 UTC
This has nothing to do with bug 325935. The embedded part if it is set as load on demand should show a button that says "click to load" of something to that effect. If that is not visible unless you scroll or resize the page, then that is a bug.
Comment 3 Dawit Alemayehu 2013-10-13 03:52:51 UTC
I cannot reproduce. We already have test case for embedded PDF documents. See https://projects.kde.org/projects/extragear/base/kwebkitpart/repository/revisions/master/entry/tests/embed_tag_test.html

So my question is this the same as bug 325940? That is do you load plugin on demand enabled?
Comment 4 Grósz Dániel 2013-10-13 11:03:37 UTC
The problem happens even if I disable loading plugins on demand only.

If I enable loading plugins on demand only, the plugin does not appear even when I click on the Start Plugin button, only if I scroll the page. (First I have to scroll the page to make the button appear too, that's what I reported in Bug 325935.)
Comment 5 Grósz Dániel 2013-10-13 11:04:29 UTC
(In reply to comment #3)
> See
> https://projects.kde.org/projects/extragear/base/kwebkitpart/repository/
> revisions/master/entry/tests/embed_tag_test.html

This page triggers the bug too.
Comment 6 Grósz Dániel 2013-10-13 12:42:47 UTC
The bug appears in rekonq too so the problem is likely in kparts.
Comment 7 Dawit Alemayehu 2013-10-13 14:46:42 UTC
Well then something else is going on because I just tried with load plugin on demand turned on and I get the start plugin button. Upon clicking on the button, the part is properly embedded into the page. Do you by any chance have "nspluginwrapper" installed on your system? If so does removing that help?
Comment 8 Dawit Alemayehu 2013-10-13 14:48:40 UTC
Created attachment 82828 [details]
screenshot of embedded pdf part
Comment 9 Grósz Dániel 2013-10-13 16:07:38 UTC
Removing nspluginwrapper does not change anything. (The file types in question weren't associated with it anyway.)
Comment 10 Dawit Alemayehu 2013-10-13 17:16:26 UTC
(In reply to comment #9)
> Removing nspluginwrapper does not change anything. (The file types in
> question weren't associated with it anyway.)

Then try removing the other culprit: mozplugger! It is one of those two plugins that always causes problems.
Comment 11 Grósz Dániel 2013-10-13 17:30:36 UTC
I don't have mozplugger. (At least I have no file on my system whose name contains mozplugger, nor any package.)
Comment 12 Dawit Alemayehu 2013-10-13 18:11:06 UTC
(In reply to comment #11)
> I don't have mozplugger. (At least I have no file on my system whose name
> contains mozplugger, nor any package.)

Can you then please check what nsplugins are installed on your system that Konqueror picks up? You can check by looking under Settings->Configure Konqueror->Web Browsing-> Plugins-> Plugins tab.
Comment 13 Grósz Dániel 2013-10-13 18:21:41 UTC
/usr/lib64/browser-plugins/gecko-mediaplayer-dvx.so
/usr/lib64/browser-plugins/gecko-mediaplayer-qt.so
/usr/lib64/browser-plugins/gecko-mediaplayer-rm.so
/usr/lib64/browser-plugins/gecko-mediaplayer-wmp.so
/usr/lib64/browser-plugins/gecko-mediaplayer.so
/usr/lib64/browser-plugins/javaplugin.so
/usr/lib64/browser-plugins/libflashplayer.so
/usr/lib64/browser-plugins/libgnome-shell-browser-plugin.so
/usr/lib64/browser-plugins/libtotem-cone-plugin.so
/usr/lib64/browser-plugins/libtotem-gmp-plugin.so
/usr/lib64/browser-plugins/libtotem-mully-plugin.so
/usr/lib64/browser-plugins/libtotem-narrowspace-plugin.so
/usr/lib64/browser-plugins/npwrapper.nppdf.so
/usr/lib64/browser-plugins/npwrapper.so
/usr/lib64/browser-plugins/packagekit-plugin.so
/usr/lib64/browser-plugins/skypebuttons.so
/usr/lib64/browser-plugins/xineplugin.so
Comment 14 Dawit Alemayehu 2013-10-13 18:29:42 UTC
(In reply to comment #13)
> /usr/lib64/browser-plugins/gecko-mediaplayer-dvx.so
> /usr/lib64/browser-plugins/gecko-mediaplayer-qt.so
> /usr/lib64/browser-plugins/gecko-mediaplayer-rm.so
> /usr/lib64/browser-plugins/gecko-mediaplayer-wmp.so
> /usr/lib64/browser-plugins/gecko-mediaplayer.so
> /usr/lib64/browser-plugins/javaplugin.so
> /usr/lib64/browser-plugins/libflashplayer.so
> /usr/lib64/browser-plugins/libgnome-shell-browser-plugin.so
> /usr/lib64/browser-plugins/libtotem-cone-plugin.so
> /usr/lib64/browser-plugins/libtotem-gmp-plugin.so
> /usr/lib64/browser-plugins/libtotem-mully-plugin.so
> /usr/lib64/browser-plugins/libtotem-narrowspace-plugin.so
> /usr/lib64/browser-plugins/npwrapper.nppdf.so

So what is this? A pdf nsplugin wrapper?? Whatever you said you removed did not quite remove this. Unless you installed things manually. I suggest you remove the wrapper and click on "Scan for plugins" in this dialog again before testing. If this plugin is present you are going to have the same problem.

> /usr/lib64/browser-plugins/npwrapper.so
> /usr/lib64/browser-plugins/packagekit-plugin.so
> /usr/lib64/browser-plugins/skypebuttons.so
> /usr/lib64/browser-plugins/xineplugin.so
Comment 15 Grósz Dániel 2013-10-13 18:40:26 UTC
That's because I reinstalled it since then. Now I removed it again, and the browser-plugin directory looks like this:

/usr/lib64/browser-plugins/gecko-mediaplayer-dvx.so
/usr/lib64/browser-plugins/gecko-mediaplayer-qt.so
/usr/lib64/browser-plugins/gecko-mediaplayer-rm.so
/usr/lib64/browser-plugins/gecko-mediaplayer-wmp.so
/usr/lib64/browser-plugins/gecko-mediaplayer.so
/usr/lib64/browser-plugins/javaplugin.so
/usr/lib64/browser-plugins/libflashplayer.so
/usr/lib64/browser-plugins/libgnome-shell-browser-plugin.so
/usr/lib64/browser-plugins/libtotem-cone-plugin.so
/usr/lib64/browser-plugins/libtotem-gmp-plugin.so
/usr/lib64/browser-plugins/libtotem-mully-plugin.so
/usr/lib64/browser-plugins/libtotem-narrowspace-plugin.so
/usr/lib64/browser-plugins/packagekit-plugin.so
/usr/lib64/browser-plugins/skypebuttons.so
/usr/lib64/browser-plugins/xineplugin.so

Now I don't even have a Plugins page in the configuration window. The problem still persists. (It also persisted when I had the nsplugins installed but I removed the directory containing them from the plugin folder list so Konqueror didn't see any plugins.)

Anyway, is it normal if a netscape plugin causes problems like this even though pdf files are configured to be embedded with the okular part, not the netscape plugin part?
Comment 16 Andrew Crouthamel 2018-11-10 03:23:06 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Andrew Crouthamel 2018-11-21 04:41:02 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 18 Justin Zobel 2023-01-12 01:58:16 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 19 Bug Janitor Service 2023-01-27 05:07:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 20 Bug Janitor Service 2023-02-11 03:52:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!