Panel should show buttons/title/menubar of the top maximized window, not the focused one
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-
ProcVersionSign
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelMo
Architecture: amd64
CompizPlugins: [core,bailer,
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=
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
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.