Sugar Learning Environment, Activity Toolkit, GTK 3.
12a899f374
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. |
||
---|---|---|
bin | ||
doc | ||
examples | ||
m4 | ||
po | ||
src | ||
tests | ||
.flake8 | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
MAINTAINERS | ||
make-doc.sh | ||
Makefile.am | ||
README.md |
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.
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
.