Ticket #1719 (closed defect: fixed)
resume journal entry race may duplicate resumed activity id
|Reported by:||quozl||Owned by:||alsroot|
|Priority:||Unspecified by Maintainer||Milestone:||0.88.x|
|Component:||sugar||Version:||Git as of bugdate|
A race condition exists during the resume of a journal entry, which may result in two activity launches with the same activity id.
If two button release events are received on the favorites view for an activity icon that has journal entries, and resume mode is true, then two attempts will be made to resume the journal entry.
This is because the shell model list of activities is updated by the D-Bus NotifyLaunch signal, which will not have been processed by the time the second button release event is processed.
This ticket based on static analysis of the code in HEAD of sugar and sugar-toolkit repositories.
See also analysis of a 0.84 reproducible symptom on dev.laptop.org #10016