Ticket #1948 (reopened defect)
Race condition with name widget in the activity toolbar
| Reported by: | bernie | Owned by: | erikos |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | 0.92 |
| Component: | sugar-toolkit | Version: | Git as of bugdate |
| Severity: | Major | Keywords: | olpc-0.84 |
| Cc: | richar.saucedo@…, sayamindu, sascha_silbe, tonyforster | Distribution/OS: | Unspecified |
| Bug Status: | New |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

