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

Ignacio Serantes bugzilla_noreply at kde.org
Sun Apr 7 22:36:18 BST 2024


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

--- Comment #8 from Ignacio Serantes <kde at aynoa.net> ---
(In reply to Robert-André Mauchin from comment #6)
> 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.

I don't understand the main reason for 33785332 commit, previous behavior, the
sort is the one in Actions property, seems the right one behavior for me.

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


More information about the kfm-devel mailing list