It does not fix the unresponsive/empty "File" menu item I get when running `soffice --writer` directly, needs further investigation, but the appmenu and window menu are no longer intermingled.
It also fixes crashes (dangling pointer) I had when a menu item got removed
As for the `TODO` role change and `qVariantFromValu<void*>` stuff I put in there and left, that's keep compatibility with e.g. latte dock and active window control