SUMMARY When "Default" profile is selected "Edit Current Profile..." opens the Edit Profile window set to create a new profile instead of allowing to edit "Default" profile. STEPS TO REPRODUCE 1. Make sure "Default" is the currently active profile. 2. Right click on the terminal emulator and choose "Edit Current Profile...". OBSERVED RESULT Edit Profile window opens, but it is set to edit a new (non-existent) profile. Attempting to name this profile like any pre-existing profile, including "Default", results in the following error: `A profile with the name "{{profile_name}}" already exists.` EXPECTED RESULT Edit Profile window opens set to edit "Default" profile. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon Testing Edition KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION Similar to bug 396808 from 2018. This may be a regression.
That's working as intended. The "default"/built-in profile is special, it can't be edited (because it's created on demand from C++ code, i.e. it doesn't have a .profile file on disk). And the name "Default" is reserved.
Yeah. In this case we should probably disable the "Edit Current Profile" menu item though, so the user can't attempt to take a known-invalid action.
Interesting... This means there's no longer a way to change the default shell in Konsole without changing the shell system wide. There should be a way to either edit the Default profile to use a different shell, or set custom profile as the default.
Created attachment 140831 [details] multiple default profiles appear out of nowhere
So in the previous comment with the screenshot.... The situation is this. I opened konsole, there no specific profile created (it was the first time after having deleted all config files). Then I edited the "current profile" several times to get my preferred settings. Then, to my surprise I saw the "default profile" duplicated tons of times (see screenshot) :-) I report my bug here because I think it's related to this report... Operating System: Debian GNU/Linux 11 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 OS Type: 64-bit
(In reply to Stefan Champailler from comment #5) > So in the previous comment with the screenshot.... The situation is this. I > opened konsole, there no specific profile created (it was the first time > after having deleted all config files). Then I edited the "current profile" > several times to get my preferred settings. Then, to my surprise I saw the > "default profile" duplicated tons of times (see screenshot) :-) I report my > bug here because I think it's related to this report... > I think this is fixed in master https://invent.kde.org/utilities/konsole/-/commit/4cab54d2bb26f23a1e17d847fe581867c0576785 , could you test?
(In reply to Javier O. Cordero Pérez (Cuperino) from comment #3) > Interesting... This means there's no longer a way to change the default > shell in Konsole without changing the shell system wide. > > There should be a way to either edit the Default profile to use a different > shell, or set custom profile as the default. You can still use the Settings -> Konsole Settings -> Profiles dialog, but it's a bit hidden. I think instead of removing "Edit current profile" from the menu, we could detect that this is the default/immutable/built-in profile and change the text to "Create new profile", not sure how simple that would be, but it's worth looking into IMHO. Note that this is what already happens, i.e. when you are using the built-in profile and select "Edit current profile" a new profile is created, and that's what you actually edit (and the title of the edit profile dialog does mention "new").
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/462
(In reply to Ahmad Samir from comment #7) > (In reply to Javier O. Cordero Pérez (Cuperino) from comment #3) > > Interesting... This means there's no longer a way to change the default > > shell in Konsole without changing the shell system wide. > > > > There should be a way to either edit the Default profile to use a different > > shell, or set custom profile as the default. > > You can still use the Settings -> Konsole Settings -> Profiles dialog, but > it's a bit hidden. Yes, I can access the "Profiles" management dialog from Konsole, although not from Yakuake. I was able to remove all the redundant profiles from there. Thank you for sharing that information!
(In reply to Ahmad Samir from comment #6) > (In reply to Stefan Champailler from comment #5) > > So in the previous comment with the screenshot.... The situation is this. I > > opened konsole, there no specific profile created (it was the first time > > after having deleted all config files). Then I edited the "current profile" > > several times to get my preferred settings. Then, to my surprise I saw the > > "default profile" duplicated tons of times (see screenshot) :-) I report my > > bug here because I think it's related to this report... > > > > I think this is fixed in master > https://invent.kde.org/utilities/konsole/-/commit/ > 4cab54d2bb26f23a1e17d847fe581867c0576785 , could you test? Tested on today's neon developper (plasma 5.22.80, Frameworks 5.86) build. Issue still there. Steps to reproduce : 1. Run Neon from ISO (no need to install on a HDD) 2. Start konsole 3. Edit current profile 4. Change some settings, making sure to "Apply" for each change. 5. Open a new tab : you're given a list a n times "Profile 1" (+ default profile). That's (n-1) too many "profile 1" :-)
I don't use Neon so I don't know for sure if the ISO would include a git master snapshot or the latest stable release of konsole.
(In reply to Ahmad Samir from comment #11) > I don't use Neon so I don't know for sure if the ISO would include a git > master snapshot or the latest stable release of konsole. Will try to build from master. But that'll take a significant amount if time. I've already done that in the past to fix some bugs but I forgot a bit :-)
Git commit 40cf8519d7347828113f6bd25e0943f874ae5cb1 by Kurt Hindenburg, on behalf of Ahmad Samir. Committed on 31/08/2021 at 23:47. Pushed by hindenburg into branch 'master'. For the fallback profile change the menu text to "Create New Profile" This is less confusing; also matches what the code actually does. FIXED-IN: 21.12 M +20 -4 src/session/SessionController.cpp M +2 -0 src/session/SessionController.h https://invent.kde.org/utilities/konsole/commit/40cf8519d7347828113f6bd25e0943f874ae5cb1
For future reference: default/fallback profile is in the process of being renamed to "built-in", because the concept of user-selected "Default" profile is not the one we are talking about here. See https://invent.kde.org/utilities/konsole/-/merge_requests/428
opensuse, Leap 15.4, Konsole 22.08.1. Additional to the discussion in this thread, coders are now reducing the ability to hack the code to achieve outcomes that own users want. Open source programs were specifically brought forward to allow just that, users were not bound by coders idiosyncrasies. Please return Konsole to the open source brief. The built in would not have too bad if the coder had taste.
Open-source software is software whose source code is available for anyone to view, modify and enhance. Free software refers to software that complies with “four essential freedoms” – to use, study, modify and distribute software for any purpose without legal restraint.