Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
James Cameron 12a899f374 Defer Gtk.Window.iconify
Defer iconify call to after the activity has been shown.  Remember the
iconify call was requested, and make the call just prior to entering the
main loop.

On Ubuntu 18.04 with Metacity 3.32.0 the Journal does appear over the
Home View on Sugar start on a VM with two virtual CPUs, yet the previous
fix in Metacity (074af8f) is present.  This is suggestive of a race
condition.

Tests with a minimal GTK reproducer shows order of three specific calls
is critical to success of iconify.  The ordering and results are;

* iconify, maximize, show; not iconified,

* maximize, iconify, show; not iconified,

* iconify, show, maximize; not iconified,

* maximize, show, iconify; app with focus will flicker, iconified,

* show, maximize, iconify; app with focus may flicker, iconified,

* show, iconify, maximize; app with focus may flicker, iconified,

Sugar Toolkit combined with Journal uses the "maximize, iconify, show"
ordering.  Using a Hello World activity with a call to iconify, the new
activity is not iconified.

When changed to "mazimise, show, iconify" ordering, there is no flicker
of the app in focus, and the new activity is iconified.
2019-06-05 12:33:31 +05:30
bin Port from Python 2 to six 2019-03-13 14:23:06 +11:00
doc Release Sugar 0.114 stable 2019-05-18 12:18:53 +10:00
examples Port from Python 2 to six 2019-03-13 14:23:06 +11:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po translate.sugarlabs.org synchronisation {mn,ru} 2019-05-18 12:17:18 +10:00
src Defer Gtk.Window.iconify 2019-06-05 12:33:31 +05:30
tests Port from Python 2 to six 2019-03-13 14:23:06 +11:00
.flake8 Add flake8 suppression 2019-03-13 15:01:07 +11:00
.gitignore Add distributed source to .gitignore 2019-03-28 15:29:02 +11:00
AUTHORS Add AUTHORS file 2007-09-25 15:49:52 +02:00
autogen.sh Modernize gettext setup 2014-03-30 11:54:48 +01:00
configure.ac Release Sugar 0.114 stable 2019-05-18 12:18:53 +10:00
COPYING Make it distcheck. Fix license. 2008-02-06 16:43:10 +01:00
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
make-doc.sh Change make-doc.sh interpreter 2015-12-30 00:11:40 -05:00
Makefile.am Port from Python 2 to six 2019-03-13 14:23:06 +11:00
README.md README - add build and install 2017-07-19 12:38:43 +10:00

Sugar Toolkit

Sugar Toolkit provides services and a set of GTK+ widgets to build activities and other Sugar components on Linux based computers.

This is the GTK+ 3 binding of the Sugar Toolkit.

https://www.sugarlabs.org/

https://wiki.sugarlabs.org/

Installing on Debian or Ubuntu

Automatically done when you install Sugar desktop.

To install Sugar Toolkit alone without Sugar desktop,

sudo apt install python-sugar3

Installing on Fedora

Automatically done when you install Sugar desktop.

To install Sugar Toolkit alone without Sugar desktop,

sudo dnf install sugar-toolkit-gtk3

Building

Sugar Toolkit follows the GNU Coding Standards.

Install all dependencies, especially sugar-artwork and sugar-datastore.

Clone the repository, run autogen.sh, then make and make install.