Raphaël Enrici wrote:
> Hi Ron,
> pgAdmin III is suffering from the same kind of bug as the one reported
> by Stefan (#333157). As soon as (at least regularly) you do some
> selection and double click on words being selected you get a specific
> cursor and the whole graphical environment is unusable until you press
> some key sequence (see #350723).
> Based on a discussion with the pgadmin dev team, I just did some test by
> relinking on wxWidgets 2.6.3 and I can't reproduce that bug anymore
> (I'll recheck and recheck but I wasn't able to freeze the app & the
> desktop after 10 minutes of double click... fingers are too hot, I must
> get some cold ;).
> 
> If you want me to do some further checking, I'd be glad to help. I must
> admit I don't know where and what to look for.

Finally I think I've isolated the files involved in correcting this problem:
contrib/src/stc/ScintillaWX.cpp and .h does solve the problem... This is
documented in the code:
// We defer the starting of the DnD, otherwise the LeftUp of a normal
// click could be lost and the STC will think it is doing a DnD when the
// user just wanted a normal click.
(lines 257-259)

Note, that, at the moment, I was not able to build current debian
wxWidgets 2.6 from source. I based my testing on upstream wxWidgets
2.6.2 which is also broken until you use the files included in 2.6.3.

So, using the following files:
ScintillaWX.cpp,v 1.85.2.1 2006/03/12 06:03:52 RD Exp
ScintillaWX.h,v 1.27.2.1 2006/03/12 06:03:52 RD Exp

should solve the problem.

If you are ok, I'll merge #350723 to #333157 and reassign it to
wxwidgets2.6.

Cheers,
Raphaël

Reply via email to