Comment 0 for bug 755044

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : when a modal dialog is placed on another viewport it receives events from the viewport with parent window

Binary package hint: unity

TEST CASE:
1. Launch any application with parent and a modal dialog. In this test I chosen gedit. So move to the top left viewport and launch gedit
2. Type some text and close the window to make the confirmation dialog appear
3. Move the confirmation dialog to the right viewport (CTRL+ALT+SHIFT+RIGHT)
4. Go back to the left viewport (CTRL+ALT+LEFT)
5. Ensure that the parent window receives the focus by clicking on it and move it to the bottom viewport (CTRL+ALT+SHIFT+DOWN)
  -> RESULT: The dialog on other viewport moves to the bottom.
6. Move the parent window to the right viewport (CTRL+ALT+SHIFT+RIGHT)
  -> RESULT: The viewport switch to the right, but the dialog is not there anymore because it moved to the left viewport
7. Go back to the parent window, with the dialog on another viewport and press ESC
  -> RESULT: The dialog is closed

Expected:
- The parent window should move instead of the dialog
- The dialog should not receive keyboard events when it is not on the active viewport.

I attached a video to illustrate this issue.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,gnomecompat,imgpng,regex,resize,mousepoll,vpswitch,grid,unitymtgrabhandles,move,resizeinfo,place,snap,animation,session,wall,expo,workarounds,ezoom,staticswitcher,fade,scale,unityshell]
Date: Fri Apr 8 22:39:03 2011
EcryptfsInUse: Yes
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to natty on 2011-02-21 (45 days ago)