Need to set up the app environment properly

Bug #1670751 reported by Michał Sawicz
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
New
High
Alejandro J. Cura
ubuntu-app-launch (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Today, UAL just passes the session environment to launched apps. This doesn't work well in all use cases (see bug #1670727).

UAL should have a mechanism for modifying the different environments in which it launches apps (at least XMir vs. native, maybe also local vs. libertine vs. snap).

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: libubuntu-app-launch4 0.10+17.04.20170215.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-9.11-generic 4.10.0
Uname: Linux 4.10.0-9-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Tue Mar 7 17:24:56 2017
InstallationDate: Installed on 2016-05-06 (304 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: ubuntu-app-launch
UpgradeStatus: Upgraded to zesty on 2016-11-22 (105 days ago)

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-app-launch (Ubuntu):
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

I'd actually like to see less environment provided by unity8-desktop-session itself in this case, and more by UAL.

So QT_QPA_PLATFORM=ubuntumirclient would only be there *if* UAL knew it was correct to be there, without the unity8 session assuming that.

Revision history for this message
kevin gunn (kgunn72) wrote :

a note based on recent conversation.
ltinkl confirmed that QT_QPA_PLATFORM for Qt5
so with the current state of things, it would be ideal for u-a-l not to remove this env var - and it won't effect Qt4 apps.

Changed in ubuntu-app-launch (Ubuntu):
importance: Undecided → High
Changed in canonical-devices-system-image:
importance: Undecided → High
assignee: nobody → Alejandro J. Cura (alecu)
Changed in ubuntu-app-launch (Ubuntu):
assignee: nobody → Ted Gould (ted)
Revision history for this message
Michał Sawicz (saviq) wrote :

This bug is about something different, actually... UAL doesn't modify environment today (hence the bug)

<ChrisTownsend> Ok, libertine-launch sanitizes that since we assume if libertine-launch is used, we are using Xmir.

Ted Gould (ted)
Changed in ubuntu-app-launch (Ubuntu):
assignee: Ted Gould (ted) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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