[sugar] [PATCH] Change tabbing to show a preview by opening the frame

Benjamin Berg benjamin at sipsolutions.net
Wed Jun 4 18:20:26 EDT 2008


Hello,

Some patches that implement nicer tabbing will follow. With the patches
applied, pressing <Alt>+Tab will show the frame. The activity that will
be selected as soon as <Alt> is released again is shown by popping up
its palette.


Unfortunately there are a couple of issues with palettes.

One issue is that that at first only the primary palette is shown, but
after a while the secondary palette will pop up (as the timeout is
started automatically).

Then I am accessing the _update_position function of the Palette
directly, to handle disappearing activities properly.

The third thing I noticed is that there is a race condition in the
Palette (which I think is my fault ...). I'll need to have a look at how
to fix this.
(The reason for the race is the code that delays the "popup" signal
until the window has been mapped. IIRC that was needed so the gab
drawing would work properly.)


Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080604/3edfc14d/attachment.pgp 


More information about the Sugar mailing list