Unity global menu bar hides childless menu items

Bug #773101 reported by Artur Nowak
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Application Menu Indicator
Fix Released
Medium
Jim Hodapp
DBus Menu
Invalid
Medium
Jim Hodapp
Unity
Fix Released
Medium
Marco Trevisan (Treviño)
indicator-appmenu (Ubuntu)
Fix Released
High
Unassigned
libdbusmenu (Ubuntu)
Invalid
High
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Marco Trevisan (Treviño)

Bug Description

Binary package hint: unity

Applications menu items that don't have children (because, e.g. the submenu is populated at the moment of menu selection) are being hidden by Unity global menu bar. I attach a code for an example GTK application that exposes this problem. It is really problematic, because disappearing menus also cause visible menu items to be placed in different positions than the user is used to.

I haven't verified it myself, but it's possible that https://bugs.kde.org/show_bug.cgi?id=261879 is also caused by this. However, I didn't find related report in unity bug tracker.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.10-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,compiztoolbox,gnomecompat,move,resize,snap,vpswitch,imgpng,mousepoll,wall,unitymtgrabhandles,grid,place,regex,session,animation,expo,workarounds,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1280x800
 edid-base64: AP///////wAOFBUUAAAAABMRAQOAIRV4CgktnVZPkCchUFQAAAABAQEBAQEBAQEBAQEBAQEB6hoAgFAgDTAYIBMAS88QAAAZAAAADwAgICAgICAgICBuBQ8AAAAA/gBDUFQKICAgICAgICAgAAAA/gBDTEFBMTU0V0IwNUEgANA=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1680x1050 1280x1024 1280x1024 1152x864 1024x768 1024x768 800x600 800x600 640x480 640x480 720x400
 edid-base64: AP///////wAQrAjgTFhYMjIPAQNuKxt46gGVo1dMnCUSUFSlSwCBgHFPAQEBAQEBAQEBAQEBITmQMGIaJ0BosDYAsg4RAAAcAAAA/wBQNjUzNzVDNzJYWEwKAAAA/QA4Sx5TDwAKICAgICAgAAAA/ABERUxMIDIwMDVGUFcKAME=
Date: Fri Apr 29 11:46:59 2011
DistUpgraded: Log time: 2011-04-28 13:42:40.141485
DistroCodename: natty
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 03) (prog-if 00 [VGA controller])
   Subsystem: Elitegroup Computer Systems Device [1019:9037]
   Subsystem: Elitegroup Computer Systems Device [1019:9037]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InstallationMedia_: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InstallationMedia__: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: MAXDATA obook3-2
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=619a1f28-8ada-4c3a-9f84-db926e9bd10b ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
ProcVersionSignature__: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Renderer: Unknown
SourcePackage: unity
UpgradeStatus: Upgraded to natty on 2011-04-28 (0 days ago)
dmi.bios.date: 09/04/2007
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 1.04I
dmi.board.name: obook3-2
dmi.board.vendor: MAXDATA
dmi.chassis.type: 10
dmi.chassis.vendor: MAXDATA
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr1.04I:bd09/04/2007:svnMAXDATA:pnobook3-2:pvr:rvnMAXDATA:rnobook3-2:rvr:cvnMAXDATA:ct10:cvr:
dmi.product.name: obook3-2
dmi.sys.vendor: MAXDATA
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Related branches

Revision history for this message
Artur Nowak (artur-j-nowak) wrote :
Revision history for this message
Artur Nowak (artur-j-nowak) wrote :

Screenshot of example application with default settings.

Revision history for this message
Artur Nowak (artur-j-nowak) wrote :

Screenshot of the example app with UBUNTU_MENUPROXY=0

Omer Akram (om26er)
affects: unity (Ubuntu) → libdbusmenu (Ubuntu)
Changed in dbusmenu:
status: New → Triaged
Changed in libdbusmenu (Ubuntu):
status: New → Triaged
Changed in dbusmenu:
importance: Undecided → Low
importance: Low → High
Changed in libdbusmenu (Ubuntu):
importance: Undecided → High
Changed in appmenu-gtk:
status: New → Confirmed
Changed in appmenu-gtk (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Olli Ries (ories) wrote :

Ted can you pls assess this and advice which MS this will be fixed

Changed in dbusmenu:
assignee: nobody → Ted Gould (ted)
status: Triaged → Incomplete
assignee: Ted Gould (ted) → nobody
Revision history for this message
Olli Ries (ories) wrote :

need design input

Revision history for this message
John Lea (johnlea) wrote :

Could somebody provide one or two real world examples of this bug in action? Difficult to define a resolution without this, so marking as 'incomplete' for the time being.

Changed in appmenu-gtk:
status: Confirmed → Incomplete
Changed in appmenu-gtk (Ubuntu):
status: Triaged → Incomplete
Changed in ayatana-design:
status: New → Incomplete
Changed in libdbusmenu (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Artur Nowak (artur-j-nowak) wrote :

What do you mean by 'real-world' examples? This bug affected a SWT-based back-office application that we're writing. After noticing it, I've created a quick Python test-case to pinpoint the problem and attached it along with the screenshots. I was initially suspecting that it could be related to SWT-Unity incompatibility, as was the case with Eclipse then (the menu-bar was completely disappearing). I've made a thorough search and even gave you a link to KDE bugtracker with similar report.

Marking it as incomplete after nearly a year (!) after report is simply ridiculous. I don't know how more 'complete' could my report be. I went to great lengths to give you as much details as possible and help you reproduce the problem. Marking it as incomplete after such a long time simply shows that nobody gave it enough thought at the moment of reporting it.

I'm unable to give you any other 'real-world' examples of this problem. We've made a workaround in our software, so it doesn't affect us directly anymore. All the people I know switched from Unity in the meantime, so I don't hear about any other situations that expose this bug. I don't even know if this problem persists (and you probably didn't care to check it).

To sum up: maybe in fact this bug is to expire, since all the apps either worked it around or the users stopped using Unity.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Artur, you're right, this shouldn't have been marked Incomplete. Sorry for the confusion.

Changed in dbusmenu:
status: Incomplete → Confirmed
Changed in libdbusmenu (Ubuntu):
status: Incomplete → Triaged
Changed in appmenu-gtk (Ubuntu):
status: Incomplete → Triaged
Changed in appmenu-gtk:
status: Incomplete → Triaged
no longer affects: ayatana-design
Ted Gould (ted)
Changed in dbusmenu:
assignee: nobody → Jim Hodapp (jhodapp)
Changed in appmenu-gtk:
assignee: nobody → Jim Hodapp (jhodapp)
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Verified on Quantal. Beginning to look into the root cause of the issue.

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Artur, thanks for the very comlete bug report. It's one of the more complete and helpful ones I've seen. If only they were all this informative!

Jim Hodapp (jhodapp)
Changed in dbusmenu:
status: Confirmed → Triaged
Changed in unity:
status: New → Triaged
assignee: nobody → Jim Hodapp (jhodapp)
Changed in appmenu-gtk:
importance: Undecided → High
Changed in unity:
importance: Undecided → High
Ted Gould (ted)
Changed in dbusmenu:
status: Triaged → Invalid
Changed in libdbusmenu (Ubuntu):
status: Triaged → Invalid
affects: appmenu-gtk (Ubuntu) → indicator-appmenu (Ubuntu)
affects: appmenu-gtk → indicator-appmenu
Changed in indicator-appmenu:
status: Triaged → In Progress
Changed in unity:
status: Triaged → In Progress
Jim Hodapp (jhodapp)
Changed in indicator-appmenu:
status: In Progress → Fix Committed
Changed in dbusmenu:
importance: High → Medium
Changed in unity:
importance: High → Medium
Changed in indicator-appmenu:
importance: High → Medium
Changed in unity:
milestone: none → 7.0.0
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-appmenu - 12.10.4daily12.11.23-0ubuntu1

---------------
indicator-appmenu (12.10.4daily12.11.23-0ubuntu1) raring; urgency=low

  [ Mathieu Trudel-Lapierre ]
  * debian/control:
    - Reorganize Build-Depends for clarity.
    - Adjust style to be consistent with other indicator packages.
    - Drop Build-Depends on cdbs.
    - Bump debhelper Build-Depends to (>= 9).
    - Add gnome-common to Build-Depends.
    - Update Vcs-Bzr, Vcs-Browser and add notice to uploaders.
    - Add gtk-doc-tools to Build-Depends.
  * debian/compat: bump compat level to 9.
  * debian/rules:
    - Convert to using the dh sequencer.
    - Make sure the build fails if there are files not listed in install files
      when building the packages.
    - Override dh_autoreconf to call autogen.sh and not run configure.
    - Temporarily disable tests due to missing dependencies.
  * debian/indicator-appmenu.install,
    debian/indicator-appmenu-tools.install: update paths to install private
    binaries to the /usr/lib/<triplet> paths.

  [ Didier Roche ]
  * Automatic snapshot from revision 219 (bootstrap):
    - Adds childless menu support to the Unity menu panel. (LP: #773101)
    - add pot template
  * Unity global menu bar hides childless menu items (LP: #773101)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 221
 -- Automatic PS uploader <email address hidden> Fri, 23 Nov 2012 07:39:58 +0000

Changed in indicator-appmenu (Ubuntu):
status: Triaged → Fix Released
Changed in unity:
assignee: Jim Hodapp (jhodapp) → Marco Trevisan (Treviño) (3v1n0)
Changed in indicator-appmenu:
status: Fix Committed → Fix Released
Changed in unity:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in unity:
status: Fix Committed → Fix Released
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.