Panel should show buttons/title/menubar of the top maximized window, not the focused one

Bug #811757 reported by Conscious User
110
This bug affects 26 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I use emesene and maximize the chat window. When I receive a new message and click on its entry on the Messaging Menu, its window pops up as expected, but with one catch: sometimes it opens unfocused.

That means that, if there is another maximized window below it, like Firefox, and this maximized window is the one in focus, the window controls, titlebar and menubar shown in the panel are actually of this other window. I lost count of how many times I accidentally closed Firefox when I actually intended to close the emesene chat window.

This only happens in Unity because in a normal desktop, without the titlebar/panel merging, the window controls will obey the stacking order, regardless of which window is focused.

This should also happen in Unity: the controls shown in the panel should be based on focus when non-maximized windows are involved, but should be based on stacking order if only maximized windows are involved.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.16-0ubuntu1~natty1
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,regex,imgpng,winrules,mousepoll,vpswitch,grid,unitymtgrabhandles,animation,place,workarounds,move,gnomecompat,resize,wall,session,wobbly,fade,expo,scale,ezoom,switcher,unityshell]
Date: Sun Jul 17 00:08:21 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=fr_FR:en
 LANG=pt_BR.UTF-8
 LC_MESSAGES=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Conscious User (conscioususer) wrote :
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
paradoxheart (paradoxheart) wrote :

Opening Banshee from the sound icon exhibits this exact problem, as do many other cases of windows appear maximised and unfocused.

In addition, if you have two maximised windows open for a particular application, and you switch to that application from another with the launcher, Unity will focus the window from this application that was active most recently, but raise the *other* one to the top of the stack. This creates the same disconnect between the window buttons/menu and the top application as above.

Changed in unity:
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

bug 627195 might be related.

Revision history for this message
Seth Johnson (sethj) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu and cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu please comment on why that is the case and change the bug status to NEW.

Changed in unity:
status: Confirmed → Invalid
Changed in unity (Ubuntu):
status: Confirmed → Invalid
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.