It seems the test activity opens two windows, one for the game instance and another for the activity.
As the screenshot shows, this is one for the game where the activity toolbar isn't present, the activities tray in the frame shows two activities, one being the test activity which has the toolbar visible with a canvas that can't be interacted with, and another with an image-missing icon, which is the screenshot above.
On a new instance, the activity fails to start and also restarts the user session so we go straight to the login screen.
The logs show this;
711890635.988546 ERROR root: Launcher was not registered for None
1711890636.043889 ERROR root: Launcher was not registered for None
1711890636.219599 ERROR root: Launcher was not registered for None
1711890636.250838 ERROR root: Launcher was not registered for None
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/jarabe/frame/activitiestray.py", line 382, in __activity_removed_cb
del self._buttons_by_name[home_activity.get_activity_id()]
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: None
1711890636.319917 ERROR root: Launcher was not registered for None
1711890636.387084 ERROR root: Launcher was not registered for None
1711890636.416462 ERROR root: Launcher was not registered for None
/usr/lib/python3/dist-packages/jarabe/model/shell.py:704: Warning: invalid unclassed pointer in cast to 'WnckClassGroup'
self.emit('activity-removed', home_activity)
I couldn't check if there were two processes for the separate windows, and I can't right now as opening the activity restarts the user session.
Tested on Sugar 0.121, pygame 2.1.2 (SDL 2.26.5, Python 3.11.2).
Noticed this when I recently tested an activity someone wrote, and was able to reproduce with the test activity after noticing same thing in another activity.
It seems the test activity opens two windows, one for the game instance and another for the activity.
As the screenshot shows, this is one for the game where the activity toolbar isn't present, the activities tray in the frame shows two activities, one being the test activity which has the toolbar visible with a canvas that can't be interacted with, and another with an
image-missing
icon, which is the screenshot above.On a new instance, the activity fails to start and also restarts the user session so we go straight to the login screen. The logs show this;
I couldn't check if there were two processes for the separate windows, and I can't right now as opening the activity restarts the user session.
Tested on Sugar 0.121, pygame 2.1.2 (SDL 2.26.5, Python 3.11.2).
Noticed this when I recently tested an activity someone wrote, and was able to reproduce with the test activity after noticing same thing in another activity.