You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
5 years ago
..
Makefile.am Port from Python 2 to six 5 years ago
__init__.py Documentation - small typos 7 years ago
activity.py Defer Gtk.Window.iconify 5 years ago
activityfactory.py Port from Python 2 to six 5 years ago
activityhandle.py Port from Python 2 to six 5 years ago
activityinstance.py Clean up activity environment variables 5 years ago
activityservice.py Port from Python 2 to six 5 years ago
bundlebuilder.py Port from Python 2 to six 5 years ago
i18n.py Remove unused imports 11 years ago
webactivity.py Fix Python GI API warnings for web activities 7 years ago
webkit1.py Port from Python 2 to six 5 years ago
widgets.py Port from Python 2 to six 5 years ago