[wxPython-users] Re: probable wxPython STC bug with pasting text

Peter Hansen peter at engcorp.com
Fri Nov 10 15:01:16 PST 2006


Michael Spencer wrote:
> This appears to be the same behavior I reported earlier yesterday: see 
> thread:
> http://thread.gmane.org/gmane.comp.python.wxpython/40770/focus=40770

Pretty clearly the same, though your post said you couldn't reproduce it 
reliably.  We've spent considerable time (probably a couple of hours at 
this point) narrowing it down and discovered that it appears very 
reliably and is based on the *length* of the pasted text.  Specifically 
certain lengths seem to fail 100% of the time, and other lengths work 
100% of the time, so far.  Can you try pasting 14 or 23 bytes or 
something, and see whether it is in fact reliable for you when you do that?

Also if you have any longer failing samples which do exhibit this 
intermittent effect (paste correctly once, then fail), please email or 
post and I can try it out here as well.

> But I do not experience it when using Python 2.4 with wx 2.6.1.0 on WinXP

If I can install that version of wx, I'll try that combination to verify 
that on the same machine it will work with some combinations and fail 
with others.  At least that mostly eliminates the possibility this is 
stuff outside Python and wx (like keyloggers, interesting though that 
possibility is).

-Peter




More information about the wxpython-users mailing list