Abdelrazak Younes wrote:
>>>> this seems to be QT bug. when running the attached program, i got the
>>>> confirmation
>>>> dialogs about changing clipboard with openoffice _only_ after pushing
>>>> "copy button".
>>>>
>>>> qt 4.3.3 here.
>>>>
>>>> can somebody confirm this behaviour?
>>>>
>>>>
>>>>        
>>> Yes, same behavior here, using qt 4.3.5.
>>>
>>> So what were your ideas for ugly fixes?
>>>      
>>
>> 0. check for clipboard emptiness for each getStatus of lfun-paste
>> 1. always allowed lfun-paste
>> 2. automatically put something in clipboard when lyx starts
>> 3. introduce some polling mechanism
>>
>> i dont like single one of these.
>>    
> What is wrong with 0 if done only the first time?

you need to know the current status, first time info easily become obsolete
(copy to clipboard in another application). without that you will get
(multiple?) access of qt clipboard each time you go to edit menu.

0 is probably most clean solution, but i fear there will be delayed menu
reaction time :(

pavel

Reply via email to