Bug 1013007 - Evince Plugin for Firefox Freezes
Summary: Evince Plugin for Firefox Freezes
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Current
Hardware: x86-64 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-01 12:30 UTC by Emr Rec
Modified: 2017-10-01 19:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emr Rec 2016-12-01 12:30:57 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build Identifier: 

Evince browser plugin hangs Firefox when displaying embedded PDF

Reproducible: Always

Steps to Reproduce:
1. When I uninstall --type application Evince and go to a website with an embedded PDF (e.g.: office 365 email attachment and click on 'view') the frame says 'you need a plugin to view this'. 
2. I install the --type application Evince (which includes the plugin for firefox) and repeat
Actual Results:  
the browser just hangs.
I shade the window, and unshade it, and then it becomes completely grey. I must either 'Terminate' the application or find the pid and kill it.

Expected Results:  
display the embedded PDF

I am in a KDE environment. Using stock Evince, and firefox:
MozillaFirefox-50.0-1.1.x86_64
evince-3.22.1-1.1.x86_64

32-bit Adobe reader plugin (version 9) works just fine.
Comment 1 Wolfgang Bauer 2016-12-01 12:50:36 UTC
Probably the same as bug#901006...

Unfortunately the GNOME team never removed evince-browser-plugin in Factory/Tumbleweed even they decided to do so for 13.2 (so it is back in 42.2 too), and neither the GNOME/GTK, evince, nor Mozilla upstream developers care about that (everybody say "it's not our fault" AIUI).
Comment 2 Wolfgang Bauer 2016-12-01 12:58:53 UTC
PS, you should be able to uninstall the package evince-browser-plugin (and keep evince itself) to "fix" your problem.
Comment 3 Wolfgang Bauer 2016-12-01 13:07:47 UTC
And for the record, this is the evince changelog entry for 13.2:
Thu Dec 11 15:27:47 UTC 2014 - badshah400@gmail.com

- Workaround bgo#738370: Disable the browser-plugin and
  evince-browser-plugin package, make main package obsolete the
  browser-plugin package to avoid update issues.

The mentioned GNOME bug report is here:
https://bugzilla.gnome.org/show_bug.cgi?id=738270

Apparently the bug number in the change log is slightly wrong, but the correct one has been mentioned here: https://bugzilla.opensuse.org/show_bug.cgi?id=906687#c44 ;-)
Comment 4 Emr Rec 2016-12-01 23:57:21 UTC
OK thanks for the info. I suppose this can be closed with upstream's wontfix. Slightly OT but is there a KDE version (Okular?) plugin for browsers. I see on the web that there are other PDF readers, but specifically browser plugins, I cannot find.
Comment 5 Wolfgang Bauer 2016-12-05 15:44:50 UTC
(In reply to Emr Rec from comment #4)
> OK thanks for the info. I suppose this can be closed with upstream's
> wontfix.

Actually, it should get fixed on Firefox's side too (in v52 non-ESR), because they apparently have removed support for netscape plugins completely (except flash-player):
https://bugzilla.mozilla.org/show_bug.cgi?id=1269807

> Slightly OT but is there a KDE version (Okular?) plugin for
> browsers. I see on the web that there are other PDF readers, but
> specifically browser plugins, I cannot find.

There was (is) a plugin to use KDE's KParts (allows certain KDE applications, including okular, being embedded in other applications), but I don't know the current state of this.
(and it probably will not work in future Firefox versions anyway).

Firefox should have an internal PDF viewer though, see https://support.mozilla.org/en-US/kb/view-pdf-files-firefox .
(this also mentions available plugins: Adobe Acrobat, MozPlugger, or KParts plugin, and that support for NPAPI plugins will be dropped in March 2017)
Comment 6 Wolfgang Rosenauer 2017-10-01 19:52:15 UTC
Firefox >= 52 removed support for NPAPI plugins by default. They are highly discouraged and atm just Flash is officially still supported.

So not sure if there is a point in keeping this open?