Bug 1329804
Summary: | enligtenment_open won't open PDF files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Skippy <lecotegougdelaforce> |
Component: | evince | Assignee: | Caolan McNamara <caolanm> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | dchen, feborges, i, lecotegougdelaforce, mhatina, mkasik, rdieter, tcallawa |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | evince-3.20.1-2.fc24 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-10-18 15:53:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Skippy
2016-04-23 11:15:57 UTC
Interesting, that's a bug I thought was fixed awhile ago, is there a chance you have some older/different xdg-open installed somewhere? $ rpm -q --whatprovides `which xdg-open` Nope, nothing else. However I was just reading elsewhere that "xdg-utils does not work correctly with enlightenment", which I use. Indeed I seem to have similar issues with xdg-email ("no method available for opening 'mailto:'"). It should work fine in enlightenment. Mind sharing where you read that? (so that I can correct where "the internet is wrong"? :) So, what xdg-open tries on enlightenment, is first tries: enlightenment_open "file" then falls back to some generic methods. Does, enlightenment_open somefile.pdf work? As far as mailto: goes, that should work too, provided this points to something useful: xdg-mime query default "x-scheme-handler/mailto" (with a hard-coded fallback to thunderbird, if it's installed). (In reply to Rex Dieter from comment #3) > It should work fine in enlightenment. Mind sharing where you read that? > (so that I can correct where "the internet is wrong"? :) Maybe it's outdated, then : https://en.opensuse.org/Portal:Enlightenment > So, what xdg-open tries on enlightenment, is first tries: > enlightenment_open "file" > then > falls back to some generic methods. > > Does, > enlightenment_open somefile.pdf > work? Here we are… $ enlightenment_open somefile.pdf Filename "file:///tmp/somefile.pdf" does not exist or is not a regular file > As far as mailto: goes, that should work too, provided this points to > something useful: > > xdg-mime query default "x-scheme-handler/mailto" > > (with a hard-coded fallback to thunderbird, if it's installed). $ xdg-mime query default "x-scheme-handler/mailto" evolution.desktop And evolution is not installed. I guess xdg-utils is not to be blamed here, so I'm closing. Thanks for the help anyway ! I suspect enlightenment's enlightment_open may be an old xdg-open fork (since, that error sounded very familiar, something we'd fixed in xdg-open awhile back). Triaging to enlightenment, owner of /usr/bin/enlightenment_open Opened a ticket with upstream Enlightenment: https://phab.enlightenment.org/T3555 This bug isn't in Enlightenment, it's in evince-previewer. The full story is here: http://entrenchant.blogspot.com/2016/03/xdg-open-arcanery.html I'm moving this bug to evince, and I've opened it upstream as well: https://bugzilla.gnome.org/show_bug.cgi?id=766531 Some good detective-work in the blog, and some not so good commentary. <offtopic mode=sarcasm> "There are some very confused people working on this software." is a great way to motivate people to fix bugs for you. </offtopic> (In reply to Rex Dieter from comment #8) > Some good detective-work in the blog, and some not so good commentary. > > <offtopic mode=sarcasm> > "There are some very confused people working on this software." is a great > way to motivate people to fix bugs for you. > </offtopic> Some people submit patches, some others prefer to boast on the web… Anyway, the post suggests some improvements in the way xdg-open handles this issue. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. upstream evince merged a fix for this which is by now in f25, I'll backport that to f24 evince-3.20.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d4bb9e240b evince-3.20.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |