[dolphin] [Bug 466115] [Regression] Custom horizontal lines/bars in context menu no longer possible

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Oct 9 15:13:30 BST 2023


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

alan.n.davies at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan.n.davies at gmail.com

--- Comment #1 from alan.n.davies at gmail.com ---
It seems that actions now get sorted by the action ID.  Because you have to
specify the separator as _SEPARATOR_, it begins with an underscore, which comes
after all the uppers letters in ASCII order, but before the lowercase letters. 
I think KDE then ignores any separators that appear at the start or end of the
menu.

If you only need a single separator, you can ID your actions like this, which
will fix the issue (note the uppercase `A` in the IDs of the actions before the
separator)...

Actions=Action_a;Action_b;_SEPARATOR_;action_c;action_d;action_e;

Unfortunately, you cannot have multiple separators, as they will all get
ordered into the same position.

I'm not sure why KDE is now ordering the actions by action ID, it seems very
strange.  The actions used to appear in the order they appeared in the action
list.  Ordering by action ID is completely arbitrary.  If you are trying to
make the menus more usable by putting stuff in alphabetical order, you should
be ordering by the "Name" parameter, not the ID.  The ID does not take any
localization into account, and anyway, you may not want stuff in alphabetical
order anyway.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list