Bug 456475
| Summary: | Multiple PDFs display in separate evince windows instead of in firefox tabs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christopher Beland <beland> |
| Component: | mozplugger | Assignee: | Than Ngo <than> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 10 | CC: | christoph.wickert, clancy.kieran+redhat, gilboad, hugh, juanmabc3, mcepl, rmj, rtc |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-08-20 15:13:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christopher Beland
2008-07-23 22:58:39 UTC
nspluginwrapper-1.1.0-4.fc9.i386 may also be implicated. I can confirm this bug. No matter what type of PDF viewer I try to embed (okular, evince, xpdf) I get the same result - an empty tab is opened (or the existing one is blanked-out), but the actual application is opened in a new window. - Gilboa +1, also affects Firefox. Looks like a duplicate of bug # 385831. Has this been reported upstream to the mozplugger devs? Maybe update to 1.10.2 which was released in half a year ago? *** Bug 385831 has been marked as a duplicate of this bug. *** I have the same problem. This looks like a duplicate of bug #470509. I experience this on Fedora 10 x86_64. This bug is reported upstream against mozplugger: https://www.mozdev.org/bugs/show_bug.cgi?id=20686 As I understand it, evince has a stupid command line behaviour that is undocumented and this means mozplugger cannot handle it. So Fedora should be configured so mozplugger is not asked to handle evince. Here's the problem: When an evince command is run (more precisely, when /usr/bin/evince is exec'ed), it checks to see if another process is running evince. It may only consider such a process if it has matching characteristics such as UID or same display -- I don't know. If such a process exists, the "work" is passed onto to the older process AND the newer process immediately exits. So mozplugger will be confused: the process doing the display isn't the process that it fired up. If such a process does not exist, this evince does the work. But there is a twist: if another evince passes our evince process some more work, our evince won't exit until all the displaying is dismissed. Again, very confusing to the invoker. This evince behaviour cannot be managed by mozplugger. So the configuration of Fedora should not let mozplugger handle .pdf files OR not tell it to invoke evince. I think that evince's behaviour is quite wrong. It violates conventional expectations of command line behaviour. It is not documented. I fear it has security implications (eg. does it check that all evince invocations have identical privileges?) i cannot reproduce this with 1.12.1. It seems the issue is fixed in this version +1. Seems to work just fine under F11. |