konfsave icon indicating copy to clipboard operation
konfsave copied to clipboard

Sub-optimal restarting mechanisms for plasmashell, KWin, and Latte

Open selplacei opened this issue 3 years ago • 1 comments

Currently, all three of these programs are restarted using the --replace option after loading the config. Not only does this create unnecessary waiting and overhead, but it may also fail due to how these programs manage their configs. Instead, existing mechanisms such as DBus should be used to reload configuration, and if that's not possible, configs should be loaded after the corresponding program has exited.

This will be addressed in a future PR.

selplacei avatar Mar 11 '21 04:03 selplacei

Partially addressed in 0.3.3. Still looking for a way to properly reload regular Plasma configs. I've asked in several places and no one has any idea. If anyone knows how to do this, please reply in this issue and/or submit a PR. Ideally, the program would call KGlobalSettings::emitChange().

Also thinking about adding customizable reload configurations for people who want to restart applications other than plasmashell, KWin, and Latte - but I think I'll only touch this after the plasmashell issue is resolved.

selplacei avatar Mar 13 '21 02:03 selplacei