Bug 351135

Summary: Certain kwriteconfig changes are mirrored in GUI settings but not applied
Product: [I don't know] kde Reporter: Allan <allan>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: allan
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Allan 2015-08-09 18:48:23 UTC
When I use kwriteconfig5 to change a text key in the exact same manner as  the GUI, the setting is not applied. However, the GUI setting will now display the loaded key.


Reproducible: Always

Steps to Reproduce:
1. Run 'kwriteconfig5 --file ~/.config/kglobalshortcutsrc --group kwin --key 'Switch One Desktop Up' 'Ctrl+Alt+Up,none,Switch One Desktop Up' 


Actual Results:  
The text key is changed appropriately.
The new shortcut shows up in the GUI keyboard shortcuts.
However, the setting is not applied.

Expected Results:  
The setting should be applied.

Maybe the settings are reloaded upon load/unload of some modules, which the GUI does upon 'Apply changes'. However, I do not know which modules these are.

kwriteconfig5 --file ~/.config/kdeglobals --group General --key toolBarFont 'Oxygen-Sans,12,-1,5,50,0,0,0,0,0'

kwriteconfig5 --file ~/.config/kglobalshortcutsrc --group kwin --key 'Switch One Desktop Up' 'Ctrl+Alt+Up,none,Switch One Desktop Up' 

These are two files that I have been unable to load configurations in. touchpadrc changes are loaded upon logout/login.
Comment 1 Allan 2015-08-12 17:37:22 UTC
When the correct file in ~/.config is specified with --file, this works and settings are applied on reboot.