Bug 1308384

Summary: unable to set default mailto handler
Product: [Fedora] Fedora Reporter: Ed Greshko <ed.greshko>
Component: kf5-kserviceAssignee: Daniel Vrátil <me>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: jgrulich, me, rdieter, than
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kf5-kservice-5.19.0-2.fc23 kf5-kservice-5.19.0-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-11 13:25:56 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 Ed Greshko 2016-02-15 01:40:02 UTC
Description of problem: "xdg-mime default mozilla-thunderbird.desktop 'x-scheme-handler/mailto' command makes changes the local config file but the changes are not honored.  


Version-Release number of selected component (if applicable): xdg-utils-1.1.1-1.fc23.noarch


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

In F23 and F22

[egreshko@meimei ~]$ xdg-mime query default 'x-scheme-handler/mailto'
KMail2.desktop

[egreshko@meimei ~]$ cat /home/egreshko/.local/share/applications/mimeapps.list
[Default Applications]
text/html=google-chrome.desktop;
x-scheme-handler/http=google-chrome.desktop;
x-scheme-handler/https=google-chrome.desktop;

[egreshko@meimei ~]$ xdg-mime default mozilla-thunderbird.desktop 'x-scheme-handler/mailto'

[egreshko@meimei ~]$ cat /home/egreshko/.local/share/applications/mimeapps.list
[Default Applications]
text/html=google-chrome.desktop;
x-scheme-handler/http=google-chrome.desktop;
x-scheme-handler/https=google-chrome.desktop;
x-scheme-handler/mailto=mozilla-thunderbird.desktop

[egreshko@meimei ~]$ xdg-mime query default 'x-scheme-handler/mailto'
KMail2.desktop


Expected results:

In F21

[egreshko@f21 ~]$ xdg-mime query default 'x-scheme-handler/mailto'
KMail2.desktop

[egreshko@f21 ~]$ cat /home/egreshko/.local/share/applications/mimeapps.list
[Added Associations]
text/html=google-chrome.desktop

[Default Applications]
text/html=google-chrome.desktop

[egreshko@f21 ~]$ xdg-mime default mozilla-thunderbird.desktop 'x-scheme-handler/mailto'

[egreshko@f21 ~]$ cat /home/egreshko/.local/share/applications/mimeapps.list[Added Associations]
text/html=google-chrome.desktop
x-scheme-handler/mailto=mozilla-thunderbird.desktop

[Default Applications]
text/html=google-chrome.desktop
x-scheme-handler/mailto=mozilla-thunderbird.desktop

[egreshko@f21 ~]$ xdg-mime query default 'x-scheme-handler/mailto'
mozilla-thunderbird.desktop


Additional info:

Comment 1 Ed Greshko 2016-02-17 05:32:18 UTC
I believe this is the same issue reported upstream in https://bugs.kde.org/show_bug.cgi?id=358159

Comment 2 Rex Dieter 2016-03-07 13:48:56 UTC
Pulling in upstream fix

Comment 3 Fedora Update System 2016-03-07 14:06:02 UTC
kf5-kservice-5.19.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-64ae8a0177

Comment 4 Fedora Update System 2016-03-07 14:06:44 UTC
kf5-kservice-5.19.0-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7d11a95a3f

Comment 5 Ed Greshko 2016-03-07 23:22:01 UTC
Verified fix and gave karma

Comment 6 Fedora Update System 2016-03-09 21:24:37 UTC
kf5-kservice-5.19.0-2.fc22 has been pushed to the Fedora 22 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-7d11a95a3f

Comment 7 Fedora Update System 2016-03-09 22:57:09 UTC
kf5-kservice-5.19.0-2.fc23 has been pushed to the Fedora 23 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-64ae8a0177

Comment 8 Fedora Update System 2016-03-11 13:25:53 UTC
kf5-kservice-5.19.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-03-24 00:02:07 UTC
kf5-kservice-5.19.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.