dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #27020
[Bug 1378935] Re: appmenu-qt5 prevents apps from using native Gtk+ dialogs
I am going to check if we can ldopen() gtk2.so (using QLibrary) and
steal some methods from there, including the icon theme stuff.
--
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
References