On Sat, Oct 25, 2008 at 12:01:42PM -0500, Xavier Toth wrote:
> I am working on a selection manager for SELinux. In certain copy/paste
> scenarios this manager pops up a dialog to confirm that the user want
> to paste the clipboard contents to the requestors window. The problem
> is that if this dialog is used the paste does work instead I get the
> text , in oowriter for instance, ########�####### before the user
> responds to the dialog which then does the SendEvent. If the dialog is
> not used the text is pasted without issue. This appears be a timing
> issue related to the delay induced by the dialog.
Might well be. See e.g. 
https://bugzilla.novell.com/show_bug.cgi?id=417839
for a somewhat related problem.

> Can someone point me at the code that processes the Edit->Paste menu 
> item? I've looked around the code but didn't see anything that I could 
> identify as implementing the ICCCM protocol. On Linux what toolkit 
> does OO use, gtk?
>
It's here: dtrans/source/X11/*. And strictly speaking, OOo has its
own toolkit (though using qt/gtk for rendering controls).

HTH,

-- Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to