Hard-coded X11 calls cause Unity 8 to fail to run on desktop
Bug #1606246 reported by
Stephen M. Webb
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Low
|
Unassigned | ||
appmenu-qt5 |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
appmenu-qt5 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
unity8-desktop-session (Ubuntu) |
Fix Released
|
High
|
Stephen M. Webb |
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_
Related branches
lp:~bregma/unity8-desktop-session/lp-1590439
- Christopher Townsend (community): Approve
-
Diff: 29 lines (+19/-0)1 file modifieddata/lightdm-unity8-session (+19/-0)
lp:~3v1n0/appmenu-qt5/avoid-x11-calls-in-other-envs
- Andrea Azzarone (community): Approve
-
Diff: 45 lines (+14/-3)1 file modifiedsrc/appmenuplatformmenubar.cpp (+14/-3)
lp:~3v1n0/appmenu-qt5/xenial-sru2
- Andrea Azzarone (community): Approve
-
Diff: 156 lines (+67/-13)5 files modifieddebian/changelog (+11/-0)
src/appmenuplatformmenubar.cpp (+13/-3)
src/appmenuplatformsystemtrayicon.cpp (+1/-1)
src/iconcache.cpp (+41/-7)
src/iconcache.h (+1/-2)
- Indicator Applet Developers: Pending requested
-
Diff: 37 lines (+23/-0) (has conflicts)1 file modifieddebian/changelog (+23/-0)
Changed in appmenu-qt5: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Triaged → In Progress |
Changed in appmenu-qt5: | |
status: | In Progress → Fix Released |
tags: |
added: verification-done removed: verification-needed |
no longer affects: | unity8-desktop-session (Ubuntu Xenial) |
To post a comment you must log in.
The unity8- desktop- session task is for tracking the workaround until the proper fix can land in appmenu-qt5.