[konsole] [Bug 447872] konsole starts with Root Shell as default
Ahmad Samir
bugzilla_noreply at kde.org
Mon Jan 3 12:45:26 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=447872
Ahmad Samir <a.samirh78 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://invent.kde.org/util
| |ities/konsole/commit/10c306
| |004210671579154947caaf9ea7f
| |1d9b993
Status|ASSIGNED |RESOLVED
Version Fixed In| |21.12.0
--- Comment #12 from Ahmad Samir <a.samirh78 at gmail.com> ---
Git commit 10c306004210671579154947caaf9ea7f1d9b993 by Ahmad Samir.
Committed on 03/01/2022 at 12:25.
Pushed by ahmadsamir into branch 'master'.
Use tighter matching when finding the default profile file name
The code was checking if the path ended with a specific file name, which
meant that if you have two profiles "Root Shell.profile" and
"Shell.profile", the matching is messed up because the former ends with
the latter. Instead since we're using the path, add a '/', this way we're
matching the whole file name which is the last component in the path after
the last '/'.
Thanks to the bug reporter for git bisect'ing the repo to find the culprit
commit.
FIXED_IN: 21.12.0
M +1 -1 src/profile/ProfileManager.cpp
https://invent.kde.org/utilities/konsole/commit/10c306004210671579154947caaf9ea7f1d9b993
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list