GSoC/GCI Archive
Google Code-in 2014 Sugar Labs

XO sleeps while Spirolaterals is drawing

completed by: Ignacio Rodríguez

mentors: Sugar Labs

The Spirolaterals activity should ask XO builds not to suspend while its drawing routine is active. Since it takes more than 15 seconds to complete a drawing cycle based on many user-entered patterns, and drawing is done in a step/pause/step manner which doesn't use much CPU, a XO laptop can decide to suspend before the completed image is drawn. Use the inhibit suspend routines in the toolkit to fix this bug. Ticket: http://bugs.sugarlabs.org/ticket/3417 Relevant code: https://github.com/walterbender/spirolaterals