[Bug 1305294] Re: QT uses incorrect theme when GNOME_DESKTOP_SESSION_ID is unset

Iain Lane iain at orangesquash.org.uk
Fri Jun 20 10:54:32 UTC 2014


We've fixed this in upstart in utopic (14.10), and will soon update
14.04 with the same fix. Thanks for the report & investigation.

** Package changed: qt4-x11 (Ubuntu) => upstart (Ubuntu)

** Also affects: upstart (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: upstart (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: upstart (Ubuntu Trusty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1305294

Title:
  QT uses incorrect theme when GNOME_DESKTOP_SESSION_ID is unset

Status in “upstart” package in Ubuntu:
  Confirmed
Status in “upstart” source package in Trusty:
  In Progress

Bug description:
  Bug discovered when launching VLC from the sound indicator applet: the
  QT UI theme is wrong. The theme is correct when launched from Unity
  launcher or terminal. Please see the attached screenshots.

  I've tracked it down to a difference in environment in the VLC
  process: When launched from indicator-sound, the variable
  GNOME_DESKTOP_SESSION_ID is unset, and this causes VLC to become
  themed incorrectly. (If the variable is given any value, then VLC
  looks correct.)

  To reproduce, either:
  1) Launch VLC from indicator-sound (make sure it's not already running and has been started from somewhere else)
  2) Or just start VLC like this from terminal:
  $ GNOME_DESKTOP_SESSION_ID= vlc

  Looks like a bug in qt4, which seems to depend on
  GNOME_DESKTOP_SESSION_ID being set [to anything] to pick up the
  correct theme. (The variable is deprecated, according to its default
  value in Ubuntu 14.04.)

  Try:
  $ GNOME_DESKTOP_SESSION_ID= qtconfig

  Observe theme not picked up from "Desktop settings" in qtconfig.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qt4-qtconfig 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Apr  9 22:15:27 2014
  InstallationDate: Installed on 2014-04-01 (8 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
  SourcePackage: qt4-x11
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1305294/+subscriptions



More information about the foundations-bugs mailing list