View Full Version : Cannot paste with Control V in TextField

23 Oct 2012, 10:32 PM

Even though I am able to paste text into a TextField using the right mouse click+Paste option, I cannot paste using the Control+V shortcut. I can't seem to copy using the Control+C shortcut, whereas using the right mouse Copy option works.

We're using GXT v2.2.5

However, when running the GXT v2.2.6 Form samples from http://www.sencha.com/examples-2/#advancedforms, the Control+C and Control+V options work fine.

Any ideas/suggestions would be greatly appreciated.

Thanks in Advance,

28 Oct 2012, 4:33 PM
We had added a custom handler for all Control+ invocations which was catching all Conrol+ keys and not letting it pass through. Once we removed it, it worked.

Be careful when you add such handlers!

this.addDomHandler(this, MouseWheelEvent.getType());
this.addDomHandler(this, KeyDownEvent.getType());