← Back to team overview

dx-packages team mailing list archive

[Bug 1606246] Re: Hard-coded X11 calls cause Unity 8 to fail to run on desktop

 

This bug was fixed in the package appmenu-qt5 -
0.3.0+16.04.20170216-0ubuntu1

---------------
appmenu-qt5 (0.3.0+16.04.20170216-0ubuntu1) xenial; urgency=medium

  * IconCache: get the proper theme path based on the fact we're using a
    themed icon or not (LP: #1600136)
  * IconCache: use $XDG_RUNTIME_DIR as preferred place where to save
    icons
  * AppMenuPlatformMenuBar: Don't initialize X11 related functions in
    other environments (LP: #1606246)

 -- Marco Trevisan (Treviño) <mail@xxxxxxxxx>  Thu, 16 Feb 2017 22:57:56
+0000

** Changed in: appmenu-qt5 (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

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

Title:
  Hard-coded X11 calls cause Unity 8 to fail to run on desktop

Status in appmenu-qt5:
  Fix Released
Status in Mir:
  Triaged
Status in appmenu-qt5 package in Ubuntu:
  Fix Released
Status in unity8-desktop-session package in Ubuntu:
  Fix Released
Status in appmenu-qt5 source package in Xenial:
  Fix Released
Status in unity8-desktop-session source package in Xenial:
  New

Bug description:
  The appmenu-qt5 code has hardcoded Xlib calls that cause Unity 8 (or
  any other Qt-based applicaiton) to die on startup when run on Mir
  instead of X11.

  This library extension should either not hardcode X11 (preferred) or
  check for the presence of a $DISPLAY  environment variable and avoid
  code paths that assume X11.

  The Unity 8 desktop currently has a hard-coded check for
  $QT_QPA_PLATFORMTHEME and unsets it as a workaround.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1606246/+subscriptions