[Sugar-devel] Sugar with Metacity (again)
Gary C Martin
gary at garycmartin.com
Fri May 22 10:33:49 EDT 2009
On 22 May 2009, at 11:51, Sayamindu Dasgupta wrote:
> Revisiting the topic of replacing matchbox with a more "standard"
> window manager, I have just uploaded a soas2 build in which Sugar
> uses (unmodified) metacity instead of matchbox. The image also has the
> Gimp, xterm and gcalctool so that you can test how metacity treats
> those normally while making activities occupy the entire screen. At
> the moment, a few activities are getting positioned incorrectly (I'll
> look into the activity code to figure out what's wrong),
Here's a quick run through of the activities.
Offset, incorrectly sized and/or other related issue:
TurtleArt (locked up, very slow, unusable)
Record (main window OK but preview window ends up obscuring much of
Etoys (mainly black screen, very slow, unusable, would not fully stop)
FreeCell (mainly black screen, very slow, unusable, would not fully
Watching the re-draw as things (messily) start-up, it kind'a looks
like windows are initially opened at a mix of different sizes (some
too small, some too large). The activity then sets-up its UI, and only
then receive some late window manager event to go fullscreen.
Activities that don't expect their window to be dynamically resized
stay offset and/or incorrectly sized.
> and etoys is
> showing black screens while loading a project, but apart from those,
> things seem to work fine. Try running gimp-2.0 or gcalctool or xterm
> from the Terminal Activity to see how metacity takes care of
> Please test this if possible and let the mailing list know if you find
> more issues.
Here's a few more:
- When activities are started you initially see a sugar-session window
with traditional widget decoration (close/minimise/etc) and title,
again after a few seconds delay the pulsing activity icon begins and
then the window decorations switch off and the window re-adjusts its
- All activities end up with a 3-4 pixel grey boarder around their
outer edge (Fitts's law issue as right/bottom scroll bars are no
longer at the edge of the screen).
- You can still drag a fullscreen activity window around using the top
- Holding alt down and dragging, drags a fullscreen window around from
- A few times when clicking the grey boarders I managed to trigger the
window manager's context palette and window resizing cursors.
- Watch out for some window manager shortcut keys Alt+F9, Alt+F7, Alt
> The relevant trac ticket is
> The ISO can be downloaded from:
> You can test the image with qemu (or qemu-kvm) with the following
> sudo qemu-kvm -cdrom Soas2-200905212052_sayamindu_metacity.iso -boot
> d -m 1024M
> (adjust the value of the -m option based on the amount of RAM you have
> in your system, and if you do not have qemu-kvm, you can try to run it
> with qemu)
>  http://erikos.sweettimez.de/?p=678
> Sayamindu Dasgupta
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel