But the context menu adds this sub-menu only when necessary, that is when there is more than X non X-KDE-Priority=TopLevel actions, and move those actions there.
I can’t remember the threshold I think it is 5.
Edit: it is 4, src/widgets/kfileitemactions.cpp · master · Frameworks / KIO · GitLab