Bug 1217961
| Summary: | Open plugin location button doesn't work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Georgoulias <tom.georgoulias> |
| Component: | cura | Assignee: | Miro Hrončok <mhroncok> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cura-14.12.1-4.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-09 15:00:08 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
Tom Georgoulias
2015-05-03 12:13:12 UTC
I can reproduce this. This problem is still present in Fedora 22. Ok, this is done by this (very bad) code:
if sys.platform.startswith('linux'):
#TODO: On linux we cannot seem to select a certain file, only open the specified path.
if os.path.isfile('/usr/bin/nautilus'):
subprocess.Popen(['/usr/bin/nautilus', os.path.split(filename)[0]])
elif os.path.isfile('/usr/bin/dolphin'):
subprocess.Popen(['/usr/bin/dolphin', os.path.split(filename)[0]])
The entire "logic" can be seen here https://github.com/daid/Cura/blob/SteamEngine/Cura/util/explorer.py
Replacing this with /usr/bin/xdg-open seems to work, so I'll send upstream Pull request and prepare a patch for Fedora cura and cura-lulzbot packages.
cura-14.12.1-4.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/cura-14.12.1-4.fc22 cura-14.12.1-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/cura-14.12.1-4.fc21 cura-lulzbot-14.12-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/cura-lulzbot-14.12-5.fc22 cura-lulzbot-14.12-5.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/cura-lulzbot-14.12-5.fc21 Package cura-14.12.1-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cura-14.12.1-4.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-9199/cura-14.12.1-4.fc21 then log in and leave karma (feedback). cura-14.12.1-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. cura-lulzbot-14.12-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. cura-14.12.1-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. cura-lulzbot-14.12-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |