Bug 384149 - Dolphin Action Menu entries appear in random order
Summary: Dolphin Action Menu entries appear in random order
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-08-29 17:28 UTC by bugs5.kde.org
Modified: 2018-11-17 10:39 UTC (History)
4 users (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 bugs5.kde.org 2017-08-29 17:28:38 UTC
Hi there

I have written some bash scripts that help me with working with PDFs. For that I created quite a few entries in the service menus for Dolphin:

https://github.com/sjau/pdfForts/blob/master/servicemenu.png

The problem is, the order of the items seems to be totally random and they keep changing when you change things.

I tested it in a freshly setup Kubuntu 17.04 VM. Kleopatra is installed as default.

When I click on the "Home" folder on the desktop, I get this order:

https://images.sjau.ch/img/0dfe39be.png

but when I dive into the folder and view the entries for the desktop folder I get this:

https://images.sjau.ch/img/5cce2bf4.png

As you can see, while nothing in the system changed, the order did change.

I think that's not good design.
Comment 1 Christoph Feck 2017-08-30 00:15:08 UTC
Does https://forum.kde.org/viewtopic.php?f=224&t=126624 work? It is a bit unclear if we lost the "InitialPreference" key while porting to KF5.
Comment 2 Christoph Feck 2017-09-17 14:27:27 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2017-10-04 13:26:35 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Christoph Feck 2017-10-04 13:27:11 UTC
(setting status correctly)
Comment 5 tnemeth 2018-03-29 08:08:44 UTC
(In reply to Christoph Feck from comment #3)
> To further investigate this issue, KDE developers need the information
> requested in comment #1. If you can provide it, or need help with finding
> that information, please add a comment.

    Hi.

    Facing the same issue as the reporter, I'm trying to add/change the
    InitialPreference config option in the desktop files I have. I'll
    try to look at the "Actions" menu after a few logins in order to see
    if anything changes.

    However that does not change the fact that distribution-provided desktop
    files that are not stored in ~/.local/share/kservices5/ServiceMenus/ do
    not have that option (or if so, it isn't taken into account).

    Wouldn't it be good to have these actions automatically listed in
    alphabetical order ? That would eliminate the need for the
    InitialPreference option...


Thank you.
Comment 6 tnemeth 2018-04-11 11:31:15 UTC
    After having tested the use of the InitialPreference option in
    the services .desktop files, I can confirm that it has no impact
    on the order of the associated menu entries.

Regards.
Comment 7 Andrew Crouthamel 2018-09-28 03:17:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-29 02:05:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 9 tnemeth 2018-11-17 10:39:58 UTC
(In reply to Andrew Crouthamel from comment #8)
> Dear Bug Submitter,
> 
> This bug has been in NEEDSINFO status with no change for at least 30 days.
> The bug is now closed as RESOLVED > WORKSFORME due to lack of needed
> information.

    Works partially for me. New entries can be placed at first, but the
    other (distribution default) menu entries are still ordered randomly.