SetSelection on wxTextCtrl is intermittent
Ron Burkey
rburkey2005 at earthlink.net
Tue Apr 1 06:18:17 PDT 2008
On Mon, 2008-03-31 at 23:36 +0200, Vadim Zeitlin wrote:
> Now I have no idea why should the clipboard be cleared. Apparently this
> happens when gtk_clipboard_set_with_owner() fails but this just replaces
> one question with another. And it also doesn't really help with deciding
> what should we do about it as there doesn't seem to be any way to hook into
> GTK+ at this level.
>
> Do you have any explanation to this unexpected clipboard reset by chance?
Hi Vadim,
If you're asking whether I think it's some other thing I'm doing, then
no. There are other applications running, of course, but all that was
happening while I was trying to collect the data was that I was just
punching ctrl-R in the text.cpp program repeatedly.
I'm not sure I agree that it's a difference between gtk+ 2.8 and 2.10.
It's true that I'm running 2.10, but that's only because I hoped that
upgrading gtk+ would fix the problem. I was running 2.8.20 when I
started experiencing the problem. Of course, there could be a
difference between whatever 2.8 you're running and 2.8.20.
On the Fedora Core 1 machine where I *don't* experience the problem, gtk
2.2.4 is running. I suppose I could try downgrading gtk to see if the
problem goes away, though I'm not sure it would necessarily help in
figuring out a workaround. I'll look into it.
-- Ron
More information about the wx-users
mailing list