Summary: | Modification of default profile is creating new profile. | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Andrzej <superandrzej> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee |
Priority: | HI | ||
Version: | 2.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/konsole/6fa0121b8ef31934153767678ed18467e900eca0 | Version Fixed In: | 4.9.0 |
Sentry Crash Report: |
Description
Andrzej
2010-09-08 01:48:10 UTC
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. FIXED-IN: 4.9.0 M +2 -0 src/Profile.cpp M +9 -0 src/Profile.h M +2 -0 src/ProfileReader.cpp M +1 -1 src/ProfileWriter.cpp http://commits.kde.org/konsole/6fa0121b8ef31934153767678ed18467e900eca0 |