Bug 445812

Summary: Renaming a custom default profile removes default-flag from this profile
Product: [Applications] konsole Reporter: g111
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: a.samirh78
Priority: NOR    
Version: 21.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description g111 2021-11-20 14:34:55 UTC
Hello,

I have created a customized konsole profile and set this as default profile. 

Later I renamed this profile. This did remove the default flag from my profile. So when starting konsole the "Default [read-only]" profile was used instead of mine.

STEPS TO REPRODUCE
1. Create your own profile
2. Set it as default profile
3. to be sure: close all konsole windows (this might not be necessary)
4. open a new konsole window
5. open the profile manager
6. edit your own profile and rename it
7. open a new window (in my case by using a hotkey that is configured for konsole)

OBSERVED RESULT
The new konsole windows is using the standard "Default [read-only]" profile. When opening the profile manager you see that the "Default [read-only]" profile is set as default again.

EXPECTED RESULT
The konsole window should continue to use my profile. (My profile should still be set as default profile.)

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Comment 1 Ahmad Samir 2021-11-20 16:23:49 UTC
This was fixed in master a while ago, should be in 21.12.

To confirm, after step 6, close the current Konsole window, then open a new one, the renamed profile should be the default as expected.