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

--- Comment #6 from Robert-André Mauchin <zebo...@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 watching all bug changes.

Reply via email to