Bug 351135 - Certain kwriteconfig changes are mirrored in GUI settings but not applied
Summary: Certain kwriteconfig changes are mirrored in GUI settings but not applied
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-09 18:48 UTC by Allan
Modified: 2015-08-12 17:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.