Unity 8 Desktop Preview session won't run Accounts setting

Bug #1300921 reported by Stephen M. Webb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8-desktop-session
Fix Released
Medium
Stephen M. Webb
unity8-desktop-session (Ubuntu)
Fix Released
Medium
Stephen M. Webb

Bug Description

The Accounts setting will not run in the Unity 8 Desktop Preview session. Nothing happens when it is clicked on in the System Settings panel or when launched from a preview when trying to install an application.

From the crash log it appears the appropriate environment variables are not being passed to the invocation of /usr/bin/online-accounts-ui so it thinks it needs to use the XCB QPA instead of the Mir client QPA.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity8-desktop-session-mir 1.0.10+14.04.20140328-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
Date: Tue Apr 1 13:46:25 2014
InstallationDate: Installed on 2013-05-09 (327 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: unity8-desktop-session
UpgradeStatus: Upgraded to trusty on 2013-10-31 (152 days ago)

Revision history for this message
Stephen M. Webb (bregma) wrote :
Revision history for this message
Stephen M. Webb (bregma) wrote :

On further investigation, it appears that the UI is run as a D-Bus service. Passing environment variables is not going to work well under these circumstances.

Stephen M. Webb (bregma)
Changed in unity8-desktop-session (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Michał Sawicz (saviq) wrote :

You need to export QT_QPA_PLATFORM=ubuntumirclient somewhere so that the service picks it up. The session should be good enough? ubuntu-touch-session does exactly that?

Revision history for this message
Michał Sawicz (saviq) wrote :

If it's dbus-activated, you might need, although the touch session doesn't do that, and works regardless...

gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'QT_QPA_PLATFORM': 'ubuntumirclient'}"

David Barth (dbarth)
Changed in unity8-desktop-session (Ubuntu):
assignee: nobody → Alberto Mardegan (mardy)
Revision history for this message
Stephen M. Webb (bregma) wrote :

Woo hoo, that gdbus call seems to do the trick of bringing the UI up.

Now there are definitely problems with the Accounts UI, but that's a different bug.

Changed in unity8-desktop-session (Ubuntu):
assignee: Alberto Mardegan (mardy) → Stephen M. Webb (bregma)
status: Triaged → In Progress
Changed in unity8-desktop-session:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Stephen M. Webb (bregma)
milestone: none → 1.0.11
Stephen M. Webb (bregma)
Changed in unity8-desktop-session:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8-desktop-session - 1.0.10+14.04.20140402-0ubuntu1

---------------
unity8-desktop-session (1.0.10+14.04.20140402-0ubuntu1) trusty; urgency=low

  [ Stephen M. Webb ]
  * propagate the QT_QPA_PLATFORM to session services started through D-
    Bus (LP: #1300921)
 -- Ubuntu daily release <email address hidden> Wed, 02 Apr 2014 20:37:44 +0000

Changed in unity8-desktop-session (Ubuntu):
status: In Progress → Fix Released
Stephen M. Webb (bregma)
Changed in unity8-desktop-session:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.