Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ctrl+c/v/x in Eclipse 3.5
ctrl+c/v/x in Eclipse 3.5 [message #336965] Thu, 16 July 2009 19:05 Go to next message
Eclipse UserFriend
Originally posted by:

I can't speak for Eclipse 3.4 but in Eclipse 3.2/3.3, the ctrl-x,c, and v
keys worked fine with swing controls embedded in SWT.

As of Eclipse 3.5, they have stopped working.

They work fine until I update the org.eclipse.ui plugin to 3.5 (I tried
replacing SWT independently). It seems that the key bindings in that plugin
are causing the events to be filtered out.

So far, the only work around I have found is to get the IBindingService and
set the key filter to off but this supposedly impacts/disables all key
binding shortcuts (obviously not desirable).

I had originally posted about this in the Albireo swt/awt integration forum
but was told I should repost over here:

Grant Wrote:
"I know that at least until 3.4.x that one step
that was taken in reaction to Ctrl+C/V/W was to introspect on the focus
control for copy()/cut()/paste() methods, and this was done specifically to
handle the case of a Swing control like a text field having focus. I'm
pretty sure that this would not have been intentionally changed in 3.5, so
there may be a regression that Eclipse UI needs to investigate."

Any help/solutions you can provide would be appreciated.


Re: ctrl+c/v/x in Eclipse 3.5 [message #336975 is a reply to message #336965] Fri, 17 July 2009 17:42 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There is a difference between 3.4.2 and 3.5. 3.4.2 contains the fix for

3.5 contains the same fix, as well as which is more
aggressive about trying to determine if there is something to be copied
or pasted. It adds a focus listener to update the handler.

Could it be that the fix for 249441 is eagerly disabling the copy command?


Paul Webster e.platform.doc.isv/guide/workbench.htm

Previous Topic:Master configuration initialization
Next Topic:Programmatic menus
Goto Forum:

Current Time: Sun May 27 05:22:30 GMT 2018

Powered by FUDForum. Page generated in 0.02003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top