Bug 451003 - mimeopen is trying to open urls
mimeopen is trying to open urls
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: xdg-utils (Show other bugs)
12
All Linux
low Severity low
: ---
: ---
Assigned To: Rex Dieter
Fedora Extras Quality Assurance
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-12 06:17 EDT by Miroslav Lichvar
Modified: 2009-12-17 14:41 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-17 14:41:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miroslav Lichvar 2008-06-12 06:17:17 EDT
Description of problem:
In generic environment, where an application supporting image/png mimetype was
installed, xdg-open 'http://a.org/a.png' starts the application instead of web
browser.

Not sure if this should be handled in xdg-open or mimeopen.

Version-Release number of selected component (if applicable):
xdg-utils-1.0.2-4.fc9
perl-File-MimeInfo-0.15-2.fc9

How reproducible:
always

Steps to Reproduce:
1. install perl-File-MimeInfo
2. xdg-open 'http://a.org/a.png'
  
Actual results:
gqview started (or another application supporting image/png mimetype).

Expected results:
web browser started.
Comment 1 Patrice Dumas 2008-06-13 04:05:05 EDT
I submitted something on freedesktop to handle that by adding a 
protocol entry in the desktop file to precise which protocols are 
supported by an application. This would allow to use the mime and
protocol info to decide which application to use. It was not 
clearly rejected but rather people seemed not to care about. It
seems that people are so much into using daemons and vfs to access
urls that they don't care about other solutions.

The mimeopen author also thought about taking advantage of the fact
that urls should be %u and %U, I don't know what is the advancement
of this. For gqview it would require changing %F to %U in .desktop 
file.
Comment 2 Rex Dieter 2008-11-26 10:01:13 EST
Patrice, thanks, I'll see if I can dig up the ml reference (if you have it handy, could you pleaes reference it here).
Comment 4 Bug Zapper 2009-06-09 21:34:18 EDT
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 5 Patrice Dumas 2009-06-10 06:05:08 EDT
There have been recently more talking about this issue on the xdg list, still no real solution, as far as I can tell.
Comment 6 Bug Zapper 2009-11-16 03:08:17 EST
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 7 Rex Dieter 2009-12-17 14:41:19 EST
I'm of a mind to think the best short-term solution is to advocate apps use %u and %U in .desktop files per comment #1 , and consider this outside to perview of xdg-utils (at the moment at least, until the protocol extentions mentioned in comment #3 happen )

Note You need to log in before you can comment on or make changes to this bug.