Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » ctrl+c/v/x in Eclipse 3.5
ctrl+c/v/x in Eclipse 3.5 [message #68229] Thu, 16 July 2009 18:06 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Re: ctrl+c/v/x in Eclipse 3.5 [message #599446 is a reply to message #68229] Thu, 16 July 2009 19:04 Go to previous message
James Peltzer is currently offline James PeltzerFriend
Messages: 43
Registered: July 2009
Member
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
>
Previous Topic:ctrl+c/v/x in Eclipse 3.5
Next Topic:Exported product and new plugin discovey problem
Goto Forum:
  


Current Time: Tue Apr 16 05:01:12 GMT 2024

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

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

Back to the top