[konsole] [Bug 425210] New: Split configuration options and state values into separate RC files (konsolerc and konsolestaterc)
Murz
bugzilla_noreply at kde.org
Tue Aug 11 07:48:51 BST 2020
https://bugs.kde.org/show_bug.cgi?id=425210
Bug ID: 425210
Summary: Split configuration options and state values into
separate RC files (konsolerc and konsolestaterc)
Product: konsole
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: MurzNN at gmail.com
Target Milestone: ---
At now KDE Konsole store configuration options and state values mixed in one
~/.config/konsolerc file, and overwrite this file with changes very frequently.
For example, on each main window size change or even download dialog size
change - it overwrite config file with new settings, here is example:
---
[DownloadDialog Settings]
Height 1080=494
Width 1920=700
[Favorite Profiles]
Favorites=
[MainWindow]
Height 1080=1011
Height 768=705
State=AAAA/wAAAAD9AAAAAAAAB4AAAAPVAAAABAAAAAQAAAAIAAAACPwAAAAA
ToolBarsMovable=Disabled
Width 1366=1366
Width 1920=1920
Window-Maximized 1080x1920=true
Window-Maximized 768x1366=true
---
This give big problem with syncing Konsole settings between environments! And
make hard other configuration management tasks, eg deploy new settings pack for
all users via some configuration management tool.
STEPS TO REPRODUCE
1. Deploy konsolerc file with your some preferred settings.
2. Open Konsole, change window size, close Konsole.
OBSERVED RESULT
See that your konsolerc file is changed almost every time, when you use Konsole
app.
EXPECTED RESULT
Main Konsole configuration file `konsolerc` must store only configuration
settings, such as `TabBarPosition=Top`, `DefaultProfile=Profile 1.profile`,
etc, and changed only when those settings are changed.
And Konsole must not store temporary state settings in same file, together with
permanent settings.
Good solution can be splitting current `konsolerc` file to two files:
- `konsolerc` for permanent configuration settings, such as TabBarPosition
option value.
- `konsole_staterc` for temporary state settings, such as window size and
position.
ADDITIONAL INFORMATION
This problem have not only Konsole, but also most of other KDE-related apps! So
maybe this issue must be converted to some recommendation (deprecation) for all
KDE apps to not store state values in main RC file with permanent config
settings?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list