[konsole] [Bug 447872] konsole starts with Root Shell as default

Ahmad Samir bugzilla_noreply at kde.org
Mon Jan 3 12:48:32 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=447872

Ahmad Samir <a.samirh78 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
                   |ities/konsole/commit/10c306 |ities/konsole/commit/eb4424
                   |004210671579154947caaf9ea7f |0235fa61e662e9a521f72e8be92
                   |1d9b993                     |13bb536

--- Comment #13 from Ahmad Samir <a.samirh78 at gmail.com> ---
Git commit eb44240235fa61e662e9a521f72e8be9213bb536 by Ahmad Samir.
Committed on 03/01/2022 at 12:48.
Pushed by ahmadsamir into branch 'release/21.12'.

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/eb44240235fa61e662e9a521f72e8be9213bb536

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list