[Sugar-devel] [DESIGN] Double clicks on Journal, Favorites view and Activity List view launches 2 or more instances
mabente at paraguayeduca.org
Wed Jun 2 09:59:19 EDT 2010
As the subject says, there is a multiple instancing problem while double
clicking on Journal entries, Favorite Act icons and Act List entries.
The problem is hard to reproduce on desktop PCs, but extremely easy on
less powerful computers like XOs.
I think the problem is that, the code handling the icon click events runs
way faster than the Activity launching process, therefore many instances
being called before the Activity windows open, grabbing the focus. In the
practice, an aggressive clicking period just saturate the system and make
My first approach (as matter of testing) was to give an exclusive time
frame for each click event, ignoring any other click event during that time
Here is the code for the Journal Entries,
Any other ideas on how to approach this problem (hopefully more general or
More information about the Sugar-devel