Bug 443912 - InitialPreference entry in .desktop service menus files is not working anymore
Summary: InitialPreference entry in .desktop service menus files is not working anymore
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 21:01 UTC by pankracypl
Modified: 2021-10-17 21:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pankracypl 2021-10-17 21:01:32 UTC
SUMMARY
Actions menus are ignoring InitialPreference entry in the service menu files (/.local/share/kservices5/ServiceMenus/). It was working for many years before.

STEPS TO REPRODUCE
1. Grab KDE Neon (https://neon.kde.org/download) user edition and spin it in vm.
2. Add "InitialPreference=X" entry to your service menus .desktop files (where x is  number to give order) under "[Desktop Entry]". 
3. Observe that order of menu items is not changing.   

OBSERVED RESULT
InitialPreference is ignored. All service menu items are not in order defined by user.

EXPECTED RESULT
I can sort my actions menu by giving number in InitialPreference under 
[Desktop Entry]. It was working before for so long.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon User 20.04
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Probably bug is not located in dolphin itself, but other component related to reading servicemenu files.