Page 1 of 1

Paste as text action pastes bitmap!

Posted: Sat Nov 17, 2012 9:10 pm
by PeterPanino
Hi! Is this a bug in RVE?

I have two items inside a menu (both with the corresponding RVEActions):

Paste
Shortcut: Ctrl+V

Paste as text
Shortcut: Shift+Ctrl+V

Now, if there is a only a bitmap in the clipboard (double-checked) and I press Shift+Ctrl+V, the bitmap is inserted in the RVEditor! This is possible only with the shortcut Shift+Ctrl+V, because the Paste as text menu item and Paste as text action is disabled.

How can I prevent this? RVOnPaste is not triggered when I press Shift+Ctrl+V. Of course, if there is only a bitmap and no text inside the clipboard then nothing should be pasted!

Posted: Sun Nov 18, 2012 7:02 am
by Sergey Tkachenko
I tried to reproduce this problem in the ActionTest demo.

I ran Paint, created an image, selected it and pressed Copy.
Then I switched to the ActionTest, pressed Shift+Ctrl+V. Nothing was inserted. Then I pressed Ctrl+V, and this image was inserted.

So I cannot reproduce. Please give me a step-by-step instructions (may be with a sample project). You can send it to richviewgmailcom.