Version: 2.5 (using KDE 4.5.0)
(starting with empty ~/.kde/share/apps/konsole/ )
When default Shell profile is modified a new profile is created in "Manage Profiles - Konsole" (after restart)
This happens when I use Polish language.
When I switch to English
(after deleting ~/.kde/share/apps/konsole/*.profiles)
everything work as expected i.e. modification of default Shell profile does not cause creation of new profile in:
Settings -> Configure Profiles...
OS: Linux (i686) release 22.214.171.124
I think that is the expected behavior .
If the default profile is a system profile, modifying it will create a new profile with the *same name* under ~/.kde/share/apps/konsole. This is quite logical: what do you expect konsole to do when it needs to save modification against a file on which it has no write permission ?
Locale should be irrelevant. Just check whether new profile is created under ~/.kde/share/apps/konsole.
The problem is that the file created in ~/.kde/share/apps/konsole is not exactly the *same name*. The name is translated in to Polish.
Powłoka.profile instead of Shell.profile.
I had to rename the file manually to have only one profile visible.
(In reply to comment #2)
Yeah, you are right. I see the real problem now.
Git commit 6fa0121b8ef31934153767678ed18467e900eca0 by Jekyll Wu.
Committed on 15/05/2012 at 19:08.
Pushed by jekyllwu into branch 'master'.
When saving profile, always use its untranslated name as filename
An internal property is introduced to record the untranslated name.
When saving profile into disk, always refer to that untranslated name
to get the filename.
This extra consideration is intended to deal with the situation when the
profile's contents are i18nized. The typical example is the "Shell" profile
shipped by default.
M +2 -0 src/Profile.cpp
M +9 -0 src/Profile.h
M +2 -0 src/ProfileReader.cpp
M +1 -1 src/ProfileWriter.cpp