Menu merging with Ubnity top frame varies on User, sudo, or gksudo

Bug #788404 reported by PaulANormanNZ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
gksu (Ubuntu)
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: unity

Treid this now on three recent Unbuntu 11.04 releases, this one I am on at present is reporting as

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy texworks
texworks:
  Installed: 0.5~svn813~natty1
  Candidate: 0.5~svn813~natty1
  Version table:
 *** 0.5~svn813~natty1 0
        500 http://ppa.launchpad.net/texworks/ppa/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
     0.3~svn671-2build1 0
        500 http://nz.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages

3) Starting texworks as a normal user nicely integrates the texworks menu in the Unity top frame as expected.

Starting as gksudo or sudo does not integrate the menu in the top frame but shows it as a normal application menu as under MS windows Xp say.

Have had a confirming report form a friend Stefan Löffler (the TeXworks ppa package maintainer himself https://launchpad.net/~texworks/+archive/ppa ) that this is indeed happening on his installs as well.

Not sure if this potentially creates a security issue or not, so have not ticked it in the form.

Paul

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.12-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Thu May 26 12:00:07 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=en_NZ:en
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
PaulANormanNZ (paul-paulanorman) wrote :
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Its a bug in the way env variables are handled in gksu. It seems that gksu doesn't pass on the UBUNTU_MENUPROXY env variable on to the application, and hence the application doesn't display its menu in the panel.

Changed in gksu (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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