Bug with clipboardData on winXP?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Zax
Posts: 519
Joined: Mon May 28, 2007 10:12 am
Contact:

Bug with clipboardData on winXP?

Post by Zax » Tue May 29, 2007 9:08 am

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.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue May 29, 2007 11:55 am

Dear Zax,

Yes, this is a bug:

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

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Zax
Posts: 519
Joined: Mon May 28, 2007 10:12 am
Contact:

Post by Zax » Tue May 29, 2007 12:43 pm

Thanks Mark for your quick answer.
Is there a way to work around this annoying bug?

Post Reply