#7876 HIGH 8.2.0 (: Double clicking an activity in the home ring causes 2 instances to launch
Zarro Boogs per Child
bugtracker at laptop.org
Wed Aug 20 12:41:30 EDT 2008
#7876: Double clicking an activity in the home ring causes 2 instances to launch
---------------------------+------------------------------------------------
Reporter: garycmartin | Owner: tomeu
Type: defect | Status: new
Priority: high | Milestone: 8.2.0 (was Update.2)
Component: sugar | Version: Development build as of this date
Resolution: | Keywords: blocks?:8.2.0 polish:8.2 r+
Next_action: diagnose | Verified: 0
Blockedby: | Blocking:
---------------------------+------------------------------------------------
Changes (by garycmartin):
* next_action: review => diagnose
Comment:
Took some time to diagnose, but patch does not currently fix issue, sorry
for the bad news. I've been using just 0001-7876-Dont-launch-multiple-
instances-on-double-click.patch in my test/diagnose cycles (joyride-2301
XO B4).
Double, triple... quintuple clicks et al still all get through and launch
multiple activity instances. The additional incoming clicks, after the
first, appear to be delayed until after the launchwindow** has appeared.
Any additional click arrival times (however quickly made) are recorded
well past the _CLICK_DELAY = 1 sec setting. Through trial and error,
bumping _CLICK_DELAY up to 4 seems to be long enough to block additional
delayed click events, though that's rather a large sledge hammer approach.
**I'm not sure of the detail regarding event loop processing, so it's only
a guess that the launchwindow might be delaying additional clicks after
the first, could well be some other part of event loop processing.
--
Ticket URL: <http://dev.laptop.org/ticket/7876#comment:21>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list