Comment 0 for bug 1305294

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote : VLC incorrectly themed when launched from indicator-sound

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

Not sure whether this is a general bug in QT (since, apparently, GNOME_SESSION_DESKTOP_ID is deprecated), a bug in indicator-sound for not setting GNOME_SESSION_DESKTOP_ID, or just a bug in VLC.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: vlc 2.1.2-2build2
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: vlc
UpgradeStatus: No upgrade log present (probably fresh install)