On June 14, 2008 Ed Leafe wrote: > It seems to be a Windows-level wxPython thing. I traced it down to > the code that defines the choices for the list controls, which has to > clear the current set of choices, and then does a single AppendItems() > call. On Windows, it seems that both of these calls causes a Paint and > Resize event to fire for every item in the list. So replacing a 20- > item list with a a 15-item list would cause 20 paint/resize events for > the clear(), and 15 for the appending. These events seem to be the > cause of the slowdown. > > I've added display locking to the underlying _setChoices() method, > and it seems to eliminate the unnecessary events. Please try with the > latest Subversion code and let me know if you see an improvement, and > if that improvement is enough to make it usable, or if we need to do > more. > > -- Ed Leafe
I figured it was a Windows only thing, and obviously not all of them since other people reported not having the problem, even on WinXP. I've updated to the latest Subversion trunk and while it's not the fastest piece of software I've ever used, it is definitely very usable now. Thank you for looking into (and solving) this so promptly. I look forward to using the framework and I'm sure this is not the last you will hear from me ;-) Once again, thank you. Gamaliel Masters _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
