← Back to team overview

dx-packages team mailing list archive

[Bug 1378935] Re: appmenu-qt5 prevents apps from using native Gtk+ dialogs

 

Sebastien, the long-term plan is to implement global menus support in Qt
itself so that appmenu-qt5 becomes redundant.

This will be in Qt 5.6 but we can backport it to our packages next
cycle.

See https://codereview.qt-project.org/103701.

-- 
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