Bug 354183

Summary: Sonnet uses the wrong path for configuration files...
Product: [Frameworks and Libraries] frameworks-sonnet Reporter: piedro <piedro.kulman>
Component: generalAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kdelibs-bugs-null, piedro.kulman
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description piedro 2015-10-21 18:10:47 UTC
The configuration file "sonnet.conf" should be under ~/.config/sonnet.conf, shouldn't it... 

ATM this file is located at ~/.config/KDE/sonnet.conf. This seems inconsistent as it is the only file in this folder. 

 

Reproducible: Always
Comment 1 piedro 2015-10-21 18:11:49 UTC
Edit: Please add a question mark to the first line of the previous post. I cannot find any edit button, so ....
Comment 2 piedro 2017-08-23 18:25:31 UTC
Is this too challenging a task to just simply fix one entry in the configuration file for developers to care? 

Sonnet is the only application to use this path. 

But I guess it's allright, it's only two years old for a 20 second change...
Keep up the good work!

Cheers, p.
Comment 3 Christoph Feck 2017-09-17 14:50:14 UTC
Sonnet uses QSettings instead of KConfig, to be able to work in pure Qt applications. The QSettings class mandates an 'organization' name. You can see it with many other Qt applications, such as Trojita, Minitube, etc. Some applications simply use the applications name as the organization name, e.g. sqlitebrowser, smplayer etc.
Comment 4 piedro 2017-09-17 21:40:32 UTC
By this logic it wouldn't it be correct to have the location:  

~/.config/Sonnet/sonnet.conf 

?