Bug 1267603 - kmailservice5 ignores email client settings
Summary: kmailservice5 ignores email client settings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kf5-kio
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-30 14:03 UTC by Karel Volný
Modified: 2016-06-07 14:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-07 14:33:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karel Volný 2015-09-30 14:03:25 UTC
Description of problem:
I've set up my email client to trojitá. Yet kmailservice5 still results to kmail.

Version-Release number of selected component (if applicable):
kf5-kio-core-5.14.0-2.fc23.x86_64

How reproducible:
always (I mean each run of kmailservice5)

Steps to Reproduce:
1. change your default email client to something else than kmail
2. $ cat .config/emaildefaults
3. $ /bin/kmailservice5 test

Actual results:
$ cat .config/emaildefaults                                                                                                                                                                   
[Defaults]                                                                                                                                                                                                     
Profile=Výchozí                                                                                                                                                                                                
                                                                                                                                                                                                               
[PROFILE_Výchozí]                                                                                                                                                                                              
EmailClient[$e]=/bin/trojita                                                                                                                                                                                   
ServerType=                                                                                                                                                                                                    
TerminalClient=false

$ /bin/kmailservice5 test
$ Legacy integer arithmetics implementation 
kmail2(30242): No language dictionaries for the language :  "cs" 

kmail2(30242): No language dictionaries for the language :  "cs" 

kmail2(30242): No language dictionaries for the language :  "cs" 

kmail2(30242): No language dictionaries for the language :  "cs" 

 ~StorageServiceJobConfigPrivate

(kmail message editor window appears)

Expected results:
(trojitá message editor windows appears)

Additional info:
I'm not exactly sure if I've rebooted (relogged-in) since the change in SystemSettings, as I've done it some time ago and only today tried to use kmailservice. However, I don't think I should need that, such change should apply immediately within the running session, just like changes in mimetype associations and similar.

Comment 1 Rex Dieter 2015-09-30 15:56:14 UTC
I think the problem here is that kmailservice5 tries the x-scheme-handler/mailto mimetype default, which probably is still kmail.

Comment 2 Rex Dieter 2015-09-30 15:58:38 UTC
This should have fixed it, but I'm not seeing it,

https://git.reviewboard.kde.org/r/120569/

Comment 3 Rex Dieter 2015-09-30 16:04:59 UTC
Looks like that came after plasma-5.4.1 release, my bad

Comment 4 Karel Volný 2015-10-01 11:30:35 UTC
(In reply to Rex Dieter from comment #1)
> I think the problem here is that kmailservice5 tries the
> x-scheme-handler/mailto mimetype default, which probably is still kmail.

so, does that mean that this setting obsoletes emaildefaults?

or that it has to be set in both places at once and all the configuration tools allowing to change one of them must be aware about it and mirror the change to the second place? - er, where do I even set x-scheme-handler if it is not under Associoations tab in systemsettings?

Comment 5 Rex Dieter 2015-10-01 12:22:45 UTC
Partially obsoleted yes, as I mentioned, the reviewboard reference from comment #2 should fix this (included in plasma-5.4.2 release coming any day now)

Comment 7 Rex Dieter 2016-06-07 14:33:28 UTC
Turns out kmailservice5 was deprecated/removed in kf5-5.22.0 release


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