|Key bindings for custom controls not working with compatibility layer [message #1053479]
||Mon, 06 May 2013 04:30
| Dirk Fauth
Registered: July 2012
in NatTable we have some reports of users that complain about broken key bindings.
I tested for a plain Eclipse 4 application and don't have an issue there. Getting the compatibility layer involved, the key bindings doesn't work anymore.
I tested this by creating a plugin for the Eclipse IDE.
We are handling key events as supposed by having a KeyListener that is registered to the NatTable, which extends Canvas. So there is nothing special that would explain why the key bindings aren't called anymore.
When debugging I can see that in the plain Eclipse 4 application, pressing Ctrl+C causes the KeyListener to be called twice (one for the Ctrl key, one for the Ctrl+C). Using the compatibility layer the KeyListener is only called once for the Ctrl key, but never for the combination Ctrl+C.
Is this a known bug or do we miss some configuration? Could it be only related to the Canvas? Because Ctrl+C is working correctly for Text Controls for example.
Any help appreciated!
Powered by FUDForum
. Page generated in 0.02163 seconds