Comment 0 for bug 805879

Revision history for this message
Sense Egbert Hofstede (sense) wrote : Behaviour of window controls of parent window with modal dialogue confusing

The fact that the window controls of maximised applications are incorporated into the top panel in Unity causes confusing behaviour for applications with modal dialogues.

Say, you are saving something in Gedit. When the modal save dialogue is open and gedit is not maximised, you can still press the maximise button. Gedit will then expand to fill the whole screen and move its title bar completely to the top panel. The animation used for this implies that the window controls will have moved to the top left corner. This feeling is strengthened by the fact that the modal dialogue has its own window controls on its own, non-maximied window borders.

However, when you try to unmaximise the gedit window by going to the top left corner of the Unity top panel, you will discover that there are no window controls there. The window controls, which the user might think were just moved, have disappeared altogether!

This could be caused by the fact that the modal dialogue has the focus and that the panel therefore displays the stuff that belongs to the modal dialogue. But I think that this works confusing, since a user should reasonably expect that the window controls of the main window were moved to the top panel, as the animation suggests.

Normally what the animation implies is true, because you will switch focus away from the currently active window to the window you are maximising. When you return to the other window, you will have done an action and that is enough to realise that the top panel changed.

However, when an application has a modal dialogue, its parent window cannot receive focus, even when you press the maximise button on the parent, its modal child dialogue will keep the focus. This is what causes the confusion.

I suggest to make the top panel always display the window controls and menu of the parent in the case a non-maximised modal dialogue is present.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
Uname: Linux 3.0-3-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,grid,resize,compiztoolbox,move,place,gnomecompat,mousepoll,vpswitch,regex,snap,wall,session,animation,expo,ezoom,workarounds,staticswitcher,fade,scale,unityshell]
Date: Tue Jul 5 12:18:50 2011
ProcEnviron:
 LANGUAGE=nl:en_GB:en
 PATH=(custom, user)
 LANG=nl_NL.UTF-8
 LC_MESSAGES=nl_NL.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to oneiric on 2011-07-04 (0 days ago)