SetSelection on wxTextCtrl is intermittent

Ron Burkey rburkey2005 at earthlink.net
Thu Apr 3 05:53:52 PDT 2008


On Tue, 2008-04-01 at 16:11 +0200, Vadim Zeitlin wrote:
> On Tue, 01 Apr 2008 09:01:25 -0500 Ron Burkey <rburkey2005 at earthlink.net> wrote:
> 
> RB> On Tue, 2008-04-01 at 15:38 +0200, Vadim Zeitlin wrote:
> RB> > RB> I'm not sure I agree that it's a difference between gtk+ 2.8 and 2.10.
> RB> > 
> RB> >  Sorry, I didn't say this, I just said that I couldn't map the stack trace
> RB> > to the GTK+ code exactly because the stack is for 2.10 while I'm looking at
> RB> > 2.8 code. But I do understand what happens nevertheless, it's just that I
> RB> > still have no idea why does it happen -- nor what to do about it.
> RB> 
> RB> Oh, in that case, I won't worry about trying the downgrade ... unless
> RB> you think that a backtrace from 2.8 would be of any assistance.
> 
>  No, thanks, I'm afraid this isn't going to help that much. Thanks for your
> help and sorry for lack of ideas about how to fix this. I can only that
> someone else, with better understanding of GTK+, can see it more clearly
> than I do...
> 

Hi Vadim,

I'm wondering if the inconsistency of this problem --- i.e., why it's
seen on some platforms and not others, and why it doesn't happen every
time even on platforms where it occurs --- is even related to the
version of wxWidgets or GTK+.  I wonder if perhaps it isn't related to
the version of X11 or Xorg or to the response speed of X on the
platform.  In other words, GTK+ requests some action from X (presumably
relating to the clipboard) and then waits for a response before
proceeding.  If the response comes quickly enough, there's no problem;
if the response comes too slowly then the problem appears.

I know this is a pretty half-baked idea, but I thought I'd present it
for your feedback since I don't know how to follow up on it anyhow.

Thanks,
Ron




More information about the wx-users mailing list