flatpak-docs
flatpak-docs copied to clipboard
Consider revising "Defunct Integrations" section in documentation.
http://docs.flatpak.org/en/latest/desktop-integration.html#defunct-integration-options
Global menu bar - this was a feature similar to Mac’s menu bar, which was part of Ubuntu’s Unity desktop. This has been retired. All Linux desktops and distributions expect a menu bar to be shown as part of the application window, should one be provided (rather than relying on a global menu bar, as on Mac).
This is not really accurate, because global menu is a core - albeit non-default - feature of both MATE desktop and KDE Plasma. A lot of work has gone in to making that stuff work on both of these desktops and many users are strongly attached to this functionality. KDE's global/local menu implementation is in active development and features like HUD are planned. So it's definitely not obsolete, just not not strictly required.
For GTK applications, the the global menu will work natively in flatpak if the developers use the new and recommended GTK's GMenuModel class.
https://developer.gnome.org/gio/stable/GMenuModel.html
Apps written in QT simply require QT>5.5 (IIRC).
I agree its an incorrect, and I'm not sure why it was included, section.
Do you know for a fact Qt 5.5 menus just work in the sandbox? What API should we mention?
Yes they work in the sandbox but I am not sure exactly how. AFAIK, it is not something that the developer can even easily disable, if they are using the standard widget.
The main problem is that many GTK apps aren't using GMenu, i.e. some just haven't made the transition and others simply don't have menubars/appmenus.
@TingPing My bad, it's actually 5.7 and up https://doc.qt.io/qt-5/whatsnew57.html
Anything under requires the appmenu-qt5 patch.
this section is now gone from the docs.