After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663919 - Epiphany opens LibreOffice as it pokes *all* Netscape-plugins it could find and one was a symlink
Epiphany opens LibreOffice as it pokes *all* Netscape-plugins it could find a...
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: General
3.8.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 696871 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-11-12 13:16 UTC by Maciej (Matthew) Piechotka
Modified: 2015-03-29 21:21 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8



Description Maciej (Matthew) Piechotka 2011-11-12 13:16:34 UTC
Epiphany opens LibreOffice after some time after starting:

 1. No file is downloaded. The LibreOffice simply asks what to do next (open writer, calc etc.)
 2. It is done once
 3. It is done probably when java plugin starts (not observed with Fx)
Comment 1 André Klapper 2011-11-15 10:58:46 UTC
Which distribution is this about? If this is reproducible, a strace log could be interesting...
Comment 2 Maciej (Matthew) Piechotka 2011-11-19 12:14:00 UTC
(In reply to comment #1)
> Which distribution is this about?

Gentoo

> If this is reproducible, a strace log could be interesting...

It is reproducible (although today is first time since 15th). However I am unable to sane check weather the strace log contains any private information (2 MiB of data after filtering obviously non-private syscalls like mmap) so I would prefer to post it for developers only.
Comment 3 Mantas Mikulėnas (grawity) 2011-11-19 23:19:53 UTC
Can reproduce with Epiphany 3.2.1 and 1e8f2bd-git on Arch Linux. This happens when any page containing the Flash plugin is opened. (Flash itself does not actually start, it just displays a generic "broken plugin" icon.)

This happens outside Epiphany as well -- for example, I just reproduced by opening the OAuth login page under "System Settings → Online Accounts → Add → Yahoo", so it appears that this is caused by whatever web control is used.
Comment 4 Mantas Mikulėnas (grawity) 2011-11-19 23:23:07 UTC
...aaand there it is in a different browser: Midori 0.4.2, which uses the same "libwebkit".
Comment 5 Claudio Saavedra 2011-11-21 11:25:14 UTC
Maybe it has to do with some flash-related mimetype being registed as to be handled by libreoffice?
Comment 6 Diego Escalante Urrelo (not reading bugmail) 2012-01-29 06:59:54 UTC
We need more info for this one. It sounds like a problem in mime registration in the distros mentioned.
Comment 7 Mantas Mikulėnas (grawity) 2012-02-01 21:41:49 UTC
I played a bit with `strace -f epiphany`. It seems that Epiphany for some reason pokes *all* Netscape-plugins it could find. This includes `libnpsoplugin.so`, which for some reason is symlinked from my `~/.mozilla/plugins/`. I definitely do not remember *ever* seeing such a file earlier, and I don't know what created the symlink in my home directory, but there it is:

$HOME/.mozilla/plugins/libnpsoplugin.so -> /usr/lib/libreoffice/program/libnpsoplugin.so

When Epiphany comes upon that file, it executes the following:

/usr/lib/libreoffice/basis-link/program/nsplugin 25 30 -env:INIFILENAME=vnd.sun.star.pathname:/usr/lib/libreoffice/program/redirectrc /usr/lib/libreoffice/program

Removing the symlink fixes the issue, at least temporarily (I don't know if the symlink will get recreated).

I don't know why Epiphany does so -- I've never dealt with plugins before (beyond having to install Flash) -- but I hope this helps a little.
Comment 8 Maciej (Matthew) Piechotka 2013-08-24 10:22:28 UTC
*** Bug 696871 has been marked as a duplicate of this bug. ***
Comment 9 Maciej (Matthew) Piechotka 2013-08-24 10:31:01 UTC
Bumping to major due to duplicate bug #696871. During spawning the plugin in separate process the process become zombie and the epiphany hangs. It happens only when /usr/lib64/libreoffice/program/oosplash is not started before epiphany runs (it happens on first time so only first time in session is affected). I was able to trigger bug #696871 on will by killing oosplash.
Comment 10 Michael Catanzaro 2014-10-02 22:34:08 UTC
Maciej, it looks like you have the LibreOffice browser plugin installed. I'm surprised to learn this exists; it looks like some distros shipped with this enabled by default about ten years ago. Anyway, try disabling it in LibreOffice by unchecking the checkbox labeled "Display documents in browser" under Tools -> Options -> Internet -> Browser Plug-in.

You could also file a bug report at bugs.libreoffice.org to see what the LibreOffice developers have to say about the weird behavior.

(In reply to comment #7)
> I played a bit with `strace -f epiphany`. It seems that Epiphany for some
> reason pokes *all* Netscape-plugins it could find.

Of course!