Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ESC keybinding firing twice
ESC keybinding firing twice [message #878757] Tue, 29 May 2012 21:45 Go to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Hi,
I've been testing the keybinding using the org.eclipse.ui.binding extension point and I found an issue and this is, with the ESC key sequence my action is firing twice.

Here's the configuration I'm using to register the binding to my action.

   <extension id="test.ui" point="org.eclipse.ui.commands">
      <category
            description="Tool Bar commands"
            id="test.ui.category"
            name="category"/>
      <command
            categoryId="test.ui.category"
            id="rap.test.app.TestAction"
            name="TEST ACTION"/>
   </extension>              
   <extension point="org.eclipse.ui.bindings">
   	  <scheme name="key scheme"
  			description="Application's shortcuts"
  			id="scheme.id" />	
      <key commandId="rap.test.app.TestAction"
            contextId="org.eclipse.ui.contexts.window"
            sequence="ESC"
            schemeId="scheme.id">
      </key>
   </extension>


With ever other key sequence I've tested everything works fine.
Can anyone tell me if I'm doing something wrong, or is it a bug?

[Updated on: Tue, 29 May 2012 21:49]

Report message to a moderator

Re: ESC keybinding firing twice [message #878943 is a reply to message #878757] Wed, 30 May 2012 08:43 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Jesus,

this is most likely a bug. Can you reproduce this problem on the RWT/SWT
level? I.e. with a KeyListener on a Shell or with a Display filter?
Also, is this problem browser-specific or are all browsers affected?
I'd suggest to file a bugzilla with your findings.

Regards,
Rüdiger

On 29.05.2012 23:45, Jesus Luna Quiroga wrote:
> Hi, I've been testing the keybinding using the org.eclipse.ui.binding
> extension point and I found an issue and this is, with the ESC key
> sequence my action is firing twice.
>
> Here's the configuration I'm using to register the binding to my action.
>
> <extension id="test.ui" point="org.eclipse.ui.commands">
> <category
> description="Tool Bar commands"
> id="test.ui.category"
> name="category"/>
> <command
> categoryId="test.ui.category"
> id="rap.test.app.TestAction"
> name="TEST ACTION"/>
> </extension> <extension point="org.eclipse.ui.bindings">
> <scheme name="key scheme"
> description="Application's shortcuts"
> id="scheme.id" />
> <key commandId="rap.test.app.TestAction"
> contextId="org.eclipse.ui.contexts.window"
> sequence="ESC"
> schemeId="scheme.id">
> </key>
> </extension>
>
> With ever other key sequence I've tested everything works fine.
> Can anyone tell me if I'm doing something wrong, or is it a bug?
>
>


--
Rüdiger Herrmann
http://codeaffine.com
Re: ESC keybinding firing twice [message #879204 is a reply to message #878943] Wed, 30 May 2012 18:42 Go to previous message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Thanks Rüdiger, I did the tests and filed it: https://bugs.eclipse.org/bugs/show_bug.cgi?id=381092
Previous Topic:HTTP ERROR 500 when a table tooltip raises an exception
Next Topic:[WAR Product] What is the state of WAR Product?
Goto Forum:
  


Current Time: Fri Apr 19 04:14:38 GMT 2024

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

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

Back to the top