[SRU] UBUNTU_MENUPROXY should not be set in Xfce
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-gtk-module (Ubuntu) |
Fix Released
|
Undecided
|
William Hua | ||
Trusty |
Fix Released
|
Undecided
|
William Hua | ||
Utopic |
Fix Released
|
Undecided
|
William Hua | ||
xfce4-indicator-plugin (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Invalid
|
Undecided
|
Unassigned | ||
Utopic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The upstart script for unity-gtk-module causes it to run under all desktop environments indiscriminately when it should only be running under Unity. It does this by adding unity-gtk-module to the environment variable GTK_MODULES.
In Xfce, this causes the panel to crash when trying to add Unity indicators, as well as other related side effects (see: LP: #1314782, LP: #1347272).
The fix to ensure we only modify GTK_MODULES under Unity is already in 14.10.
[Test Case]
Log into a Xubuntu session on a machine that has both ubuntu-desktop and xubuntu-desktop. Add the Indicator Plugin to the panel and open a terminal window. A crash dialog should appear notifying the user that the Indicator Plugin unexpectedly left the panel.
[Regression Potential]
The potential for regression is low since the only change is to preserve the original value of the GTK_MODULES environment variable, as well as to never set UBUNTU_MENUPROXY. The fix restores the desktop environment to its intended state of not running unity-gtk-module. Also, I've tested the change under Unity, and application menus still work properly under the global menu without regression.
[Other Info]
N/A
=== original bug report ===
To reproduce: either start with a fresh Ubuntu install and then install xubuntu-desktop, or start with Xubuntu and then install ubuntu-desktop - ie have both Xfce and Unity installed on the same machine.
Xfce now has support for gtk3 indicators launched by upstart, but indicator-appmenu is totally broken - it will constantly crash the panel and applications. Xfce has a mechanism to hide indicators, and then the frontend UI will not be loaded in the panel, but it seems that UBUNTU_MENUPROXY is still being set in Xfce, which causes menus to disappear from applications, even though nothing is available to receive them.
I discussed this with tedg and he suggested that the problem may be to do with the upstart service which sets UBUNTU_MENUPROXY, ie /usr/share/
We may in future get the appmenus working in Xfce, and then we would need some way to turn the menuproxy on and off depending on the user configuration. But for now, since they are broken anyway, it would be easiest to simply blacklist xubuntu desktop completely.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-gtk-
ProcVersionSign
Uname: Linux 3.13.0-8-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Apr 14 19:40:36 2014
InstallationDate: Installed on 2014-02-11 (61 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140210)
PackageArchitec
SourcePackage: unity-gtk-module
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 30 lines (+8/-6)1 file modifieddata/unity-gtk-module.conf (+8/-6)
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 30 lines (+8/-6)1 file modifieddata/unity-gtk-module.conf (+8/-6)
Changed in xfce4-indicator-plugin (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in unity-gtk-module (Ubuntu Trusty): | |
status: | New → Confirmed |
summary: |
- UBUNTU_MENUPROXY should not be set in Xfce + [FFE] UBUNTU_MENUPROXY should not be set in Xfce |
summary: |
- [FFE] UBUNTU_MENUPROXY should not be set in Xfce + [SRU] UBUNTU_MENUPROXY should not be set in Xfce |
Changed in unity-gtk-module (Ubuntu Trusty): | |
assignee: | nobody → William Hua (attente) |
description: | updated |
Changed in unity-gtk-module (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
Changed in xfce4-indicator-plugin (Ubuntu Trusty): | |
status: | Confirmed → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.