Bug 362216 - Ktorrent overwrites my config with defaults
Summary: Ktorrent overwrites my config with defaults
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-25 04:28 UTC by Storm Engineer
Modified: 2016-04-26 16:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Storm Engineer 2016-04-25 04:28:41 UTC
So recently I did a sysupgrade, after which Ktorrent lost all my settings. I figured it is because Ktorrent changed from using .local/share/... to .config. I found the new ktorentrc, and overwritten it with my old. However, every time I start Ktorrent it will overwrite all my settings with broken defaults.

I tried making ktorrentrc immutable, in which case Ktorrent will whine about it not being writable when it tries to overwrite it at start, and then loads with the broken default settings regardless.

Reproducible: Always

Steps to Reproduce:
1. Try to chance .config/ktorrentrc
2. Start Ktorrent

Actual Results:  
.config/ktorrentrc will be replaced with default settings upon start

Expected Results:  
Ktorrent should load custom settings instead of destroying them.
Comment 1 Storm Engineer 2016-04-26 16:20:07 UTC
Alright so after much fiddling it seems the issue was caused by a format error in the old ktorrentrc, where some paths had "file:///" added to the for unknown reason. Removing those seem to have fixed the issues.