Bug 443731

Summary: [KCommandBar] Commands sorting order
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: popov895 <popov895>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs, nate, popov895
Priority: NOR    
Version: 5.86.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Commands aren't sorted by name

Description popov895 2021-10-14 16:30:09 UTC
Created attachment 142439 [details]
Commands aren't sorted by name

SUMMARY

The commands are currently sorted only in the order of how often they are used. It would be great if the commands that have the same frequency of use were sorted by name.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20211011
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Bug Janitor Service 2021-10-16 09:34:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/82
Comment 2 Waqar Ahmed 2021-10-16 17:29:52 UTC
Git commit 27c8569ccf361620ad2f9c072b1964a486ebf4f6 by Waqar Ahmed, on behalf of Eugene Popov.
Committed on 16/10/2021 at 17:28.
Pushed by waqar into branch 'master'.

[KCommandBar] Additionally sort commands by name

In addition to sorting commands by score, sort them by name. This will make it easier for the user to find the command they are looking for.

M  +10   -6    src/kcommandbar.cpp

https://invent.kde.org/frameworks/kconfigwidgets/commit/27c8569ccf361620ad2f9c072b1964a486ebf4f6