PDA

View Full Version : Bug: Clipboard - delete clears clipboard



NewsArchive
05-18-2005, 04:26 AM
Friedrich,

Have a go at this in the script editor. Select a script item and either copy
or cut it. Delete any script item. The clipboard is now empty.

--
Best regards,

Mark

-------------------------------------------------------------------
Why waste time learning when ignorance is instantaneous?
We do email right!
Rock solid hosting services at http://www.lanbytes.net

NewsArchive
05-18-2005, 04:26 AM
Hi Mark,

Just to clarify your observations. I noticed that the copy and paste
functions of the scripts themselves are independent of the Windows
Clipboard. To copy text to the clipboard you need to actually choose
that menu item (shown further down on the menu items on the
right-click popup). This text contents actually remains in the
clipboard when you perform your little test. I can only presume that
the Copy "a script item" must actually place the details of that
script into a variable and when you delete any script item the
variable is some how emptied or destroyed.

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
05-18-2005, 04:26 AM
>Hi Mark,
>
>Just to clarify your observations. I noticed that the copy and paste
>functions of the scripts themselves are independent of the Windows
>Clipboard. To copy text to the clipboard you need to actually choose
>that menu item (shown further down on the menu items on the
>right-click popup). This text contents actually remains in the
>clipboard when you perform your little test. I can only presume that
>the Copy "a script item" must actually place the details of that
>script into a variable and when you delete any script item the
>variable is some how emptied or destroyed.

Geoff,

I may have confused things by referring to the clipboard. I meant it in the
sense of copy/paste usage within SB.

FWIW, I never use the context menu for anything with a keyboard equivalent,
especially copy/paste/delete. The behavior I described can be duplicated
using the context menu, though. I just used it to copy a comment; paste that
comment; delete one of the (now) duplicated comments. After that the context
menu's Delete item is disabled and SB's clipboard is empty.

--
Best regards,

Mark

-------------------------------------------------------------------
Why waste time learning when ignorance is instantaneous?
We do email right!
Rock solid hosting services at http://www.lanbytes.net