okay that’s in now (stable and candidate).
However it still doesn’t seem to be able to be called over dbus, which I thought was unrestricted with classic spans.
e.g. snap run kate qdbus | grep kate to get the dbus name it’s using then run:
qdbus org.kde.kate-107781 /MainApplication org.kde.Kate.Application.openUrl file:///home/jr/src/kde/blinken/neongit/blinken/snapcraft.yaml utf-8
Error: org.freedesktop.DBus.Error.AccessDenied An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=“:1.1741” (uid=1000 pid=333372 comm=“/usr/lib/qt5/bin/qdbus org.kde.kate-107781 /MainAp” label=“unconfined”) interface=“org. kde.Kate.Application” member=“openUrl” error name=“(unset)” requested_reply=“0” destination=“org.kde.kate-107781” (uid=1000 pid=107781 comm="kate jenkins_jobs_update_nci.rb " label=“snap.kate.kate (enforce)”)
This means Kate runs multiple copies of itself istead of opening new files in the running instance.