Bug 399477

Summary: Konsole shows annoying "Config unwritable, contact your system administrator" message.
Product: [Frameworks and Libraries] frameworks-kconfig Reporter: Alexander Bantyev <balsoft75>
Component: generalAssignee: Matthew Dawson <matthew>
Status: CONFIRMED ---    
Severity: normal CC: cbc.alves, justin.zobel, kdelibs-bugs, nate
Priority: NOR    
Version: 5.75.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Warning message screenshot

Description Alexander Bantyev 2018-10-07 09:49:43 UTC
Created attachment 115461 [details]
Warning message screenshot

SUMMARY
Konsole shows annoying "Config unwritable, contact your system administrator" message, while this is actually desired (my configuration files are managed by home-manager utility, which creates them read-only). Either this warning should be shown not on startup, but while opening "Settings" of Konsole, or there should be a configuration option to disable this altogether, as konsole is able to operate just fine after I close the dialog (configuration is parsed correctly).

STEPS TO REPRODUCE
1. chmod -w $XDG_CONFIG_HOME/konsolerc
2. konsole

OBSERVED RESULT

A message shows up: https://snag.gy/Tqe5ma.jpg or see attachment

EXPECTED RESULT

Konsole opens without the dialog

SOFTWARE VERSIONS
Kate: 18.08.1

ADDITIONAL INFORMATION
I am on NixOS (nixos-unstable channel) with i3 as window manager and home-manager as dotfiles manager.
Comment 1 Kurt Hindenburg 2018-10-07 14:37:29 UTC
I agree that this is annoying - I don't recall off-hand why the dialog was added upon startup.  I would think that perhaps showing a desktop message if any changes are attempted to be saved would be better.
Comment 2 Justin Zobel 2020-11-03 06:34:35 UTC
Confirmed on latest from git master.

This should be only in configuration dialogs or maybe a don't show again tickbox.
Comment 3 Carlos Alves 2020-11-04 22:21:32 UTC
It is in kconfig framework, not konsole.

KSharedConfig::openConfig

ask once, when reading the config file for the first time.