Re: [Anjuta-list] Copy, past again



Don't worry-- I'll probably have a "real" fix today.  I finally 
understand the problem, I think.  It's like Naba said yesterday, it's the 
reparenting of the Scintilla widget that causes the problem, since 
gdk/gtk seem to track ownsership of the selection via the parent window, 
not the widget itself.  I have to trace through the code again to be 
sure, but it looks like when the Scintilla widget gets reparented, the 
gtk/gdk selection handling code loses track of where the widget lives, so 
it can't send the proper get_selection messages, etc.  A first hack would 
be for Scintilla to keep track of whether it owns the CLIPBOARD, and when 
it gets mapped/realized (with a new parent), to reclaim the CLIPBOARD.

-Roy


>Hello all,
>
>I solved clipboard problems of 0.18, I just detach message window from
>main window.
>I compiled 0.19, and now, this trick doesn't work anymore.
>I'm sorry but I should return back to 0.18...
>
>Tom.
>
>Sorry for my bad english and thank you for your work.
>-- 
>Thomas Pimmel
>email : tom ringard org
>http : http://www.ringard.org
>
>
>_______________________________________________
>Anjuta-list mailing list
>Anjuta-list lists sourceforge net
>https://lists.sourceforge.net/lists/listinfo/anjuta-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]