Bug 362216

Summary: Ktorrent overwrites my config with defaults
Product: [Applications] ktorrent Reporter: Storm Engineer <storm.anthro>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.