Oh, you're right, I've just tested it under 10.10 (I've attached another file with pygtk example) and the same thing happens there so it isn't a regression. Strange I've never noticed it there.
Still the question is whether this is a bug or a feature - for completeness I ran the test under OpenSUSE 11.2 with KDE and there's no change of focus which is the behavior I prefer. ** Attachment added: "The same test using pygtk" https://bugs.launchpad.net/unity/+bug/857799/+attachment/2462181/+files/test.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857799 Title: Foreground window loses focus if a background window pops up a modal dialog To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/857799/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs