flathub / org.libreoffice.LibreOffice

https://flathub.org/apps/details/org.libreoffice.LibreOffice
29 stars 18 forks source link

Flatpak version doesn't show a menu when using KDE Global Menu #234

Open LinuxDragon57 opened 1 year ago

LinuxDragon57 commented 1 year ago

Perhaps this is a small issue in the grand scheme of things, but when using KDE's global menu widget; the flatpak version fails to move the menu to the global menu. Instead it disappears entirely. This is hopefully just a permissions issue.

xalt7x commented 5 months ago

Related to:

If you want to disable broken Global Menu specifically for LibreOffice Flatpak:

  1. Open Flatpak Permission Settings page
    • on KDE Plasma 6: "System Settings" > "Security & Privacy" > "Application Permissions" > "Flatpak Permissions"
    • on KDE Plasma 5: "System Settings" > "Personalization" > "Applications" > "Flatpak Permission Settings"
  2. Select "LibreOffice", open "Advanced Permissions", scroll to "Session Bus Policy"
  3. "com.Canonical.AppMenu.Registrar" = "None"

CLI command: flatpak override --user --no-talk-name=com.canonical.AppMenu.Registrar org.libreoffice.LibreOffice

MajorTomDE commented 5 months ago

I tried it with latest Flatpak LibreOffice Version 24.2. It don't works. Any other ideas?

Fedora 39 KDE Plasma 5.27.10 Wayland

xalt7x commented 5 months ago

@MajorTomDE

Try to execute cat $HOME/.local/share/flatpak/overrides/org.libreoffice.LibreOffice

I have such content there:

[Session Bus Policy] com.canonical.AppMenu.Registrar=none

Also, for this override to take effect, you'll need close all LibreOffice instances/processes.