Bug 456412

Summary: Switching between alternative launcher widgets (e.g. Kickoff and Kicker) re-arranges Favorites to be in alphabetical order
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: Application Launcher (Kickoff)Assignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: meven29, mikel5764, niccolo, noahadvs, qydwhotmail
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=355588
Latest Commit: Version Fixed In: 5.27

Description Nate Graham 2022-07-06 19:00:20 UTC
STEPS TO REPRODUCE
1. Arrange your favorites to the arrangement y prefer
2. Right-click on Kickoff > Show Alternatives
3. Choose Kicker and click Switch
4. Open Kicker

EXPECTED
Favorites are in the same order that they were in Kickoff.

ACTUAL
Favorites have been arranged alphabetically.
Comment 1 Bug Janitor Service 2022-10-25 09:06:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2263
Comment 2 Nate Graham 2022-11-04 13:50:15 UTC
Git commit 6779985ab6f9b10e25c3a74ceb0dcbb099a0bbd9 by Nate Graham, on behalf of Bharadwaj Raju.
Committed on 04/11/2022 at 13:50.
Pushed by ngraham into branch 'master'.

applets/kicker: Load favorites ordering from most recent applet as a fallback

For widgets using the Kicker backend:

If the current applet doesn't have any ordering defined, use the one from the
most recent applet with an ordering.
FIXED-IN: 5.27

M  +50   -4    applets/kicker/plugin/kastatsfavoritesmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/6779985ab6f9b10e25c3a74ceb0dcbb099a0bbd9