[sugar] Matchbox stacking issue

Matthew Allum mallum
Thu Jul 20 05:54:46 EDT 2006


Hi;

On Wed, 2006-07-19 at 20:31 +0200, Marco Pesenti Gritti wrote:
>
> > Is this a bug? Are there reasons to behave in this way? Or am I simply 
> > missing something?

Its more a feature than a bug. If multiple app windows are in the same
window group ( of which in a single GTK program with multiple app wins
are ), transient dialogs become transient to the group as a whole. This
is whats happening here - if you page through the app window stack
you'll see the dialogs remain raised. 

This behaviour can be quite useful if you have a multiple app win
application. But its pretty new code and a bit annoying it does this
with such a seemingly simple test case.

Anyway attached is an updated test.py which splits up the group and does
what you expect, though Im sure there is a nicer way to do this
python/gtk wise.

  -- Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 674 bytes
Desc: not available
Url : http://mailman.laptop.org/pipermail/sugar/attachments/20060720/c11edf5e/test-0001.py


More information about the Sugar-devel mailing list