Page 1 of 1

Bug with clipboardData on winXP?

Posted: Tue May 29, 2007 9:08 am
by Zax
Hello,

I encountered a strange behavior with clipboardData on winXP.
I would like to fill the clipboard with a string, quit my Rev application and paste the string in a text document.
This is the code I made:

Code: Select all

set the clipboardData["text"] to myVar
launch document myTextDocument
if the result <> "" then
 displayAnAlert
else quit
At this point, clipboard should contain myVar but when I try to paste it in the opened text document, nothing happen on windows XP (it works on MacOS X).
If I don't "quit" my Rev application, it works and myVar is pasted in the opened text document.

Is it a known bug? Is something wrong in my code?
Thanks for your help!

I use Rev Studio 2.8.0 build 370.

Posted: Tue May 29, 2007 11:55 am
by Mark
Dear Zax,

Yes, this is a bug:

http://quality.runrev.com/qacenter/show_bug.cgi?id=5089

Best,

Mark

Posted: Tue May 29, 2007 12:43 pm
by Zax
Thanks Mark for your quick answer.
Is there a way to work around this annoying bug?