How is `X-KDE-Priority` supposed to be used to get actual priority in the real context menu?

Since KDE Plasma is inexplicably lacking a “Copy Location” context menu item when you’re at the actual desktop (as opposed to viewing the desktop inside a Dolphin window), I’m trying to force a “Copy Location” item there.

I have already made a “Service Menu” .desktop file, and it’s showing up in the context menu when right-clicking a file on the desktop.

The problem is that it gets assigned a random order/priority, far down in the list. I need it at a specific point (third from top) or at the very least not just “randomly” assigned based on unknown logic.

I’ve searched and searched until my fingers are just bones with no flesh but there is no documentation anywhere explaining anything besides a very shallow “guide” on the KDE website for how to make a basic “Service Menu”: https://develop.kde.org/docs/apps/dolphin/service-menus/

There is no explanation anywhere that I can find of how the X-KDE-Priority directive actually works.

You’re (allegedly) supposed to be able to set it to an integer to mean the “priority”. Sure, but if I do that, such as X-KDE-Priority=999 or X-KDE-Priority=1 or any value, it gets thrown into an “Actions” sub-group! It needs to be in the “real” context menu; the “top level”. I have no use for stuff hidden away in the “Actions” sub-group in the context menu. I don’t understand what the point of that is.

To get it to be in the “real” context menu, you are supposed to do X-KDE-Priority=TopLevel. Can you see the problem? The X-KDE-Priority directive appears to have two separate, incompatible “duties”, each having nothing to do with and breaking each other.

If I use X-KDE-Priority=TopLevel, it shows up in the top level but with a random order. I need it to be not only in the “top level”, but also having an actual priority number so it’s displayed near the top instead of far down.

What could I possibly be missing after wasting so many hours of my life on this nonsense? How can X-KDE-Priority= be used for two separate things? It can’t be the case. So what’s up with the magical TopLevel value which prevents me from giving it a priority number?

Also, setting X-KDE-Submenu= to nothing doesn’t work either. None of this appears to be documented. This is far beyond infuriating.