dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #23025
[Bug 1378935] [NEW] appmenu-qt5 prevents apps from using native Gtk+ dialogs
Public bug reported:
Hi,
QtBase ships with a platform theme called "gtk2", which enables native
file dialog, color dialog and font dialog on Gtk-based environments
(such as Unity and GNOME).
https://qt.gitorious.org/qt/qtbase/source/5.3:src/platformsupport/themes/genericunix/qgenericunixthemes.cpp#L593
However, when appmenu-qt5 is installed, the platform theme is forcibly
set to "appmenu-qt5" (via /etc/profile.d/appmenu-qt5.sh). Thus, the
advantages of gtk2 theme like native dialogs are not available.
Test case:
0) Install qtcreator and appmenu-qt5;
1) Launch qtcreator and select "Open Project";
2) Launch "QT_QPA_PLATFORMTHEME= qtcreator" and select "Open Project".
In case 1), the standard Qt file dialog will be used (looking a stranger in Gtk environment).
In case 2), the native Gtk+ file dialog will be used (looking nice).
** Affects: appmenu-qt5
Importance: Undecided
Status: New
** Affects: appmenu-qt5 (Ubuntu)
Importance: High
Status: New
** Also affects: appmenu-qt5 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: appmenu-qt5 (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1378935
Title:
appmenu-qt5 prevents apps from using native Gtk+ dialogs
Status in Application menu for Qt5:
New
Status in “appmenu-qt5” package in Ubuntu:
New
Bug description:
Hi,
QtBase ships with a platform theme called "gtk2", which enables native
file dialog, color dialog and font dialog on Gtk-based environments
(such as Unity and GNOME).
https://qt.gitorious.org/qt/qtbase/source/5.3:src/platformsupport/themes/genericunix/qgenericunixthemes.cpp#L593
However, when appmenu-qt5 is installed, the platform theme is forcibly
set to "appmenu-qt5" (via /etc/profile.d/appmenu-qt5.sh). Thus, the
advantages of gtk2 theme like native dialogs are not available.
Test case:
0) Install qtcreator and appmenu-qt5;
1) Launch qtcreator and select "Open Project";
2) Launch "QT_QPA_PLATFORMTHEME= qtcreator" and select "Open Project".
In case 1), the standard Qt file dialog will be used (looking a stranger in Gtk environment).
In case 2), the native Gtk+ file dialog will be used (looking nice).
To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1378935/+subscriptions
Follow ups
References