Global menu of background instead of foreground window shown

Bug #797702 reported by max on 2011-06-15
This bug affects 7 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)

Bug Description

Binary package hint: unity

Unity sometimes shows the global menu and title belonging to the window behind the actual window that is in the foreground. This is because the window is not correctly brought to the foreground.

Test case:
1. Start Banshee
2. Start playing a track
3. Close the Banshee window (will keep playing without any window open)
4. Open another application, eg. Nautilus
5. Open Banshee again, eg. using the sound indicator menu
6. Banshee is brought to the foreground, but it will show Nautilus' global menu

Not a specific Banshee problem, as can also be reproduced with other applications when they are not correctly brought to the foreground.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.14-0ubuntu1~natty1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: wl
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,place,grid,commands,resize,mousepoll,vpswitch,snap,imgpng,move,session,shift,compiztoolbox,gnomecompat,wall,obs,regex,animation,workarounds,expo,unitymtgrabhandles,ezoom,staticswitcher,fade,scale,unityshell,scaleaddon]
CompositorRunning: compiz
 status: connected
 enabled: enabled
 dpms: Off
 modes: 1280x800
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1080 1680x1050 1600x900 1280x1024 1280x1024 1280x960 1152x864 1280x720 1152x720 1024x768 1024x768 832x624 800x600 800x600 640x480 640x480 720x400
Date: Wed Jun 15 14:08:10 2011
DistUpgraded: Log time: 2011-04-26 20:18:34.419158
DistroCodename: natty
DistroVariant: ubuntu
 bcmwl,, 2.6.38-8-generic, i686: installed
 virtualbox-ose, 4.0.4, 2.6.38-8-generic, i686: installed
 Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller [8086:2a12] (rev 0c) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:30d8]
   Subsystem: Hewlett-Packard Company Device [103c:30d8]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InstallationMedia_: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InstallationMedia__: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: Hewlett-Packard HP Compaq 6720s
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=59d0098b-f87e-458a-91d8-86db6f5033f0 ro vga=792 splash quiet quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic
ProcVersionSignature__: Ubuntu 2.6.38-8.42-generic
Renderer: Unknown
SourcePackage: unity
UpgradeStatus: Upgraded to natty on 2011-04-26 (49 days ago) 01/10/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68MDU Ver. F.09 30D8
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 83.0E
dmi.chassis.asset.tag: CNU8123744
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68MDUVer.F.09:bd01/10/2008:svnHewlett-Packard:pnHPCompaq6720s:pvrF.09:rvnHewlett-Packard:rn30D8:rvrKBCVersion83.0E:cvnHewlett-Packard:ct10:cvr: HP Compaq 6720s
dmi.product.version: F.09
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty1
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.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

max (maxozilla) wrote :
Bilal Shahid (s9iper1) wrote :

yes this is reproduceable bug and i also reproduce it.and this problem is not only with banshee i have also seen it with other applications, like chromium and empathy etc
in this case if we open home folder and banshee with the same process as defined above than if the banshee is front of the us than the top bar options are of home folder's and if we press the close button the home folder is closed i am also attaching a screenshot in which we try to close the banshee but home folder is closed
 so i can confirm this bug.
thank you

Changed in unity (Ubuntu):
status: New → Confirmed
Didier Roche (didrocks) on 2011-06-20
Changed in unity:
status: New → Confirmed
Robert Roth (evfool) on 2011-06-23
Changed in unity (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Didier Roche (didrocks) on 2011-06-24
Changed in unity:
status: Confirmed → Triaged
max (maxozilla) wrote :

I disagree with setting this bug's importance to low. Whilst I accept that it isn't a show-stopper, this bug could cause loss of data and prevent correct user-interaction, and so I believe it should have a higher priority.

- as a result of this bug, a user could close the wrong window and lose unsaved data in that window.

- a user could think that they are interacting with one window when in fact they are interacting with another window, potentially damaging open data in that window.

For these reasons - in particular, the potential loss and/or corruption of data - I believe that this bug should have a higher priority set.

Daniel Harvey (daniel.harvey) wrote :

I also think the priority is too low for this issue. I am not sure how I reproduce the problem, or how to workaround it. Once it has occurred (see example attached), it makes working really problematic until the problem corrects itself (not sure how).

Suggest significantly increasing the priority. It can't be that hard to ensure global menu is on top?

max (maxozilla) wrote :

Daniel, I think your screenshot shows a different bug, where the dash appears behind other windows -

This bug concerns the incorrect window menu being shown (ie. the menu that might have File, Edit, Help etc.).

max (maxozilla) wrote :

Why is this bug's importance set to low? This bug can cause the user to interact with and close the wrong window, causing loss of data.

To post a comment you must log in.