[Bugs] #1948 UNSP: Race condition with name widget in the activity toolbar
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Apr 19 11:14:07 EDT 2010
#1948: Race condition with name widget in the activity toolbar
------------------------------------------+---------------------------------
Reporter: bernie | Owner: tomeu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: 0.84.x
Severity: Critical | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
How to reproduce:
1. open any activity (for example, Write)
2. switch to the Activity toolbar
3. click on the name widget
4. quickly type a few keystrokes
5. after 1-2 seconds, some of your keystrokes will disappear and the
cursor will be reset to the beginning of the edit box
Even without looking at the code, this smells like a simple race condition
between the user and the callback function that updates the datastore on
every change. If so, we could simply work around this bug by hooking the
update to a different gtk event, such as when the widget looses focus.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1948>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list