Paste as text action pastes bitmap!

General TRichView support forum. Please post your questions here
Post Reply
PeterPanino
Posts: 57
Joined: Tue Jul 13, 2010 10:50 pm

Paste as text action pastes bitmap!

Post 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!
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply