Well, basically we could use the qtubuntu QPA plugin, but that's not required. Actually I've been thinking to do it as a separate package in fact. Might need to update the bug description, as my research changed the approach to the problem a bit. The attached blueprint has more info on that.
In a quick overview: we don't have to make it part of a QPA plugin. We can simply make a stand-alone QPlatformTheme plugin that will be loaded on any QPA that's currently used. So, this appmenu QPA QPlatformTheme plugin would be a generic unix theme with the appmenu-qt functionality. In my free work time I'm actually working around the strangeness of the platform menubars implementation to make it less code-duplicating. But we'll see how it goes. For now I would simply stick to DBusmenu as this is what we have been using currently and then, if needed, open up a separate work item for that one. ** Description changed: + Please see the related blueprint for some of the plans related to the + implementation. For now, the current one (which might change) is writing + a custom QPlatformTheme plugin which will be loadable on any QPA + possible. + + --- + Currently we have proposed Qt5 appmenu support downstream as patches basing on the previous Qt4 support code upstream. This is a sufficient solution for now, but Qt5 introduced something called QPA (Qt Platform Abstraction) that is supposed to resolve such things like custom-OS theming and features. This would essentially require re-writing appmenu-qt to the QPA theme QPlatformMenuBar API and writing a custom Ubuntu/Linux theme loading appmenu-like plugins. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157213 Title: Port appmenu support to Qt5 QPA To manage notifications about this bug go to: https://bugs.launchpad.net/appmenu-qt/+bug/1157213/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
