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

Robert-André Mauchin bugzilla_noreply at kde.org
Sun Apr 7 21:23:26 BST 2024


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

--- Comment #6 from Robert-André Mauchin <zebob.m at gmail.com> ---
Fix proposal:

https://invent.kde.org/frameworks/kio/-/merge_requests/1608


Commit 33785332 has purposely ordered actions by their name. However, this
break separators in service context menus.

For example:

Actions=progressive;optimize;SEPARATOR;compress_50;compress_70;compress_75

The separator would end up at the end of the list:

Actions=compress_50;compress_70;compress_75;progressive|optimize;SEPARATOR

And since the logic check is the separator is the last item to add it:

!actions.last()->isSeparator()

separators basically disappear from service context menus.

The purpose of this commit is then to create groups of actions between each
separator. Actions will be sorted withing these groups, but it will keep
service menus original organisation.

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


More information about the kfm-devel mailing list