To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75488
                 Issue #|75488
                 Summary|Problem with getting data from clipboard in other appl
                        |ication
               Component|Word processor
                 Version|OOo 2.0.4
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|mru
             Reported by|softvoile





------- Additional comments from [EMAIL PROTECTED] Sat Mar 17 16:02:43 +0000 
2007 -------
I am a software developer. I am writing two applications. They watch for 
clipboard changes and collect clipboard history for further reusing 
(Flashpaste and Clipdiary if you need it for testing).
They work fine in most applications (even in MS Office :), but there is one 
problem with OpenOffice package. It's very strange but when I try to get data 
from clipboard (after user has copied text in OO Writer) It takes 3-5 seconds 
to get first clipboard format... I have this trouble only with OpenOffice both 
Writer and Calc. In these 5 seconds user can't paste text to any other 
application (if Flashpaste is running).

I use VS 2005, C++, MFC.

How to reproduce?

You can use ClipSpy (http://www.codeproject.com/clipboard/clipspy.asp) for 
testing and reproducing.

1.Run ClipSpy first, then open any ODT document. Also run Notepad.
2.If you copy any string from Notepad, you can see that data in ClipSpy will 
be refreshed immediately.(less than 0.5 sec)
3.After that switch to Writer and try to copy text from it. Now ClipSpy will 
refresh data with big delay, about 5 seconds. It's a problem.
4.Close and restart ClipSpy  - try to do 2 and 3 items – in this case problem 
is absent 


Some note:

 Problem appears only if OO was started after Clipboard Viewer (i.e. 
ClipSpry). If you run OO before Clipboard Viewer problem is absent and data is 
refreshing  without delay (I don't use auto start OO when Windows logs on). So 
there is strong  dependence on reciprocal position OO Clipboard Viewer and 
external   Viewer in clipboard chain.

Problem doesn't depend on what format of data we can try to get from 
clipboard. I tried get only one format (CF_TEXT) and had this problem.

Application hungs on the following string

        hglbCopy = GetClipboardData(uFormat);  

in my application. And I think on the string

hgData = pDO->GetGlobalData ( etc.cfFormat );

in ClipSpy.


I work in AMD Atlon 3000+, Windows XP SP2.

Thanks in advance ;)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to