LibreOffice showing multiple Global Menu entries when opening temporary files

This doesn’t happen when launched from the app launcher.