[Bugs] #4932 Sugar NORM: activity abort does not clear current activity icon
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Jan 22 16:59:43 EST 2016
#4932: activity abort does not clear current activity icon
-------------------------------+--------------------------------
Reporter: quozl | Owner:
Type: defect | Status: new
Priority: Normal | Milestone: Unspecified
Component: Sugar | Version: Git as of bugdate
Severity: Major | Keywords:
Distribution/OS: Unspecified | Bug Status: New
-------------------------------+--------------------------------
The icon below the buddy icon in the home view shows the current activity.
It can be used to switch back to a running activity, using a touch or
click on the icon. When an activity stops, the icon quickly changes back
to the journal icon.
However, if only one activity is running, and it aborts, the icon may stay
as it was, and may not respond to a touch or click.
The problem can be reproduced:
* start the Moon or Music Keyboard activity,
* switch to the Home View (F3)
* use kill to send a SIGABRT (6) or SIGILL (4) to the activity process.
{{{
kill -ILL $(pgrep Moon)
}}}
* wait for the activity to abort,
* observe the problem.
However this only works if done over SSH or console. If done using
Terminal, the problem does not occur, because there is more than one
activity open. To reproduce with Terminal requires more care:
* start Moon,
* start Terminal, and type;
{{{
(sleep 30 && kill -ILL $(pgrep Moon)) &
exit
}}}
* switch to the Home View (F3),
* switch to the Moon activity (F4),
* wait for the Moon activity to abort,
* observe the problem.
The icon can be restored to normal by starting an activity and then
stopping it normally.
Seen on Fedora 20 with Sugar 0.107.1 as desktop. Seen on Ubuntu 14.04.3
with Sugar 0.107.0 as desktop. Not tested with sugar-build, and don't
care if it doesn't reproduce there, since no end users are expected to use
sugar-build.
Logs:
* [http://dev.laptop.org/~quozl/z/1aMjLo.txt shell.log] on Fedora 20,
* [http://dev.laptop.org/~quozl/z/1aMjiQ.txt shell.log] on Ubuntu
14.04.3,
* [http://dev.laptop.org/~quozl/z/1aMjTK.txt com.garycmartin.Moon-6.log]
terminated with signal 4,
* [http://dev.laptop.org/~quozl/z/1aMj6I.txt
org.laptop.WebActivity-1.log] terminated with signal 6.
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4932>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list