Port appmenu support to Qt5 QPA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
appmenu-qt |
Won't Fix
|
High
|
Łukasz Zemczak | ||
appmenu-qt5 |
Fix Released
|
High
|
Łukasz Zemczak | ||
qtbase-opensource-src (Ubuntu) |
Fix Released
|
High
|
Łukasz Zemczak |
Bug Description
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.
Qt 5.2 with appmenu patches included testable with:
sudo apt-add-repository ppa:canonical-
sudo apt-get update
sudo apt-get dist-upgrade
To revert back to archive versions:
sudo ppa-purge ppa:canonical-
Changed in appmenu-qt: | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
Changed in qtbase-opensource-src (Ubuntu): | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | New → In Progress |
Changed in appmenu-qt: | |
status: | New → In Progress |
tags: | added: qt5.1 |
Changed in qtbase-opensource-src (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
tags: | added: qt5.2 |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in appmenu-qt5: | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
status: | New → Fix Committed |
Changed in appmenu-qt: | |
status: | In Progress → Won't Fix |
Changed in appmenu-qt5: | |
importance: | Undecided → High |
description: | updated |
tags: | removed: qt5.1 |
Changed in appmenu-qt5: | |
status: | Fix Committed → Fix Released |
What changes in Qt5 are needed for this? The way the bug reads, this is adapting appmenu-qt to work with Qt5, not the other way around?