ctrl+c/v/x in Eclipse 3.5 [message #68229] |
Thu, 16 July 2009 18:06 |
Eclipse User |
|
|
|
Originally posted by: jpeltzer.rossvideo.com
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.
Thanks,
James
|
|
|
Re: ctrl+c/v/x in Eclipse 3.5 [message #68242 is a reply to message #68229] |
Thu, 16 July 2009 19:04 |
Eclipse User |
|
|
|
Originally posted by: jpeltzer.rossvideo.com
I meant to post this in the eclipse.platform newsgroup.
My apologies.
"James Peltzer" <jpeltzer@rossvideo.com> wrote in message
news:h3nq6p$lr4$1@build.eclipse.org...
>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.
>
> Thanks,
>
> James
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03281 seconds