Bug 430072
Summary: | xdg-open should call mimeopen with -L option | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miroslav Lichvar <mlichvar> |
Component: | xdg-utils | Assignee: | Rex Dieter <rdieter> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | perl-devel, pertusus, ppisar, rdieter |
Target Milestone: | --- | Keywords: | FutureFeature, Triaged, Upstream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | xdg-utils-1.0.2-20.20100709.fc12 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-13 20:44:02 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
Miroslav Lichvar
2008-01-24 12:25:46 UTC
I'm surprised following symlinks isn't the default mimeopen behavior. ?? Yeah, me too. I'll ask upstream. Patrice, any word from mimeopen upstream regarding -L, following symlink behavior? Reassigning (for now). I have asked upstream some time ago, but didn't got any response. I'll certainly retry after my vacations if I don't forget. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Patrice, ping? any news movement on mimeopen -L usage/default? I think I forgot to reask. I'll dot it soon. 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 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 Reassigning to new package owner Switching back, I'm not maintainer. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. mimeopen (from perl-File-MimeInfo package) does not use xdg-open (from xdg-utils). The no-follow behavior is default for mimeopen. However I opened feature request <https://rt.cpan.org/Public/Bug/Display.html?id=58575> at upstream. If xdg-open users want consistent behavior over all xdg-utils back-ends, xdg-open code must be changed to reflect it: $ grep -Hn -C5 mimeopen /usr/bin/xdg-open /usr/bin/xdg-open-426- if [ $? -eq 0 ]; then /usr/bin/xdg-open-427- exit_success /usr/bin/xdg-open-428- fi /usr/bin/xdg-open-429- fi /usr/bin/xdg-open-430- /usr/bin/xdg-open:431: if mimeopen -v 2>/dev/null 1>&2; then /usr/bin/xdg-open:432: mimeopen -n "$file" /usr/bin/xdg-open-433- if [ $? -eq 0 ]; then /usr/bin/xdg-open-434- exit_success /usr/bin/xdg-open-435- fi /usr/bin/xdg-open-436- fi /usr/bin/xdg-open-437- fi Add `-L' option on line 431. Reassigning to xdg-utils. You agree mimeopen behavior is inconsistent, yet you insist that xdg-open be patched instead of mimeopen? rebasing, +FutureFeature keyword so this doesn't get eol'd prior to resolution (In reply to comment #15) > You agree mimeopen behavior is inconsistent, yet you insist that xdg-open be > patched instead of mimeopen? Exactly. The problem is xdg-open does not respect interface defined by underlying mimeopen (even if it is stupid). Thus it's a bug in xdg-open and xdg-open should be changed to resolve this bug report. I cannot change mimeopen API because it would: divert from upstream and break third-party applications. Alright, change pushed upstream, will be included in the next pkg update. xdg-utils-1.0.2-20.20100709.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/xdg-utils-1.0.2-20.20100709.fc13 xdg-utils-1.0.2-20.20100709.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/xdg-utils-1.0.2-20.20100709.fc12 xdg-utils-1.0.2-20.20100709.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update xdg-utils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/xdg-utils-1.0.2-20.20100709.fc12 xdg-utils-1.0.2-20.20100709.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update xdg-utils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/xdg-utils-1.0.2-20.20100709.fc13 xdg-utils-1.0.2-20.20100709.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. xdg-utils-1.0.2-20.20100709.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. perl-File-MimeInfo upstream has decided to follow symlinks by default since version 0.16. |