|HandledMenuItem/Handled Tool Item with parameter disables KeyBindings [message #989872]
||Sat, 08 December 2012 22:14
| Benno Luthiger
Registered: December 2012
In the e4 application model I define a command with a parameter. After that I create a handler for this command and a key binding referencing the same command.|
After that, I create e.g. a toolbar and add a "Handled Tool Item" which triggers the command defined before.
When I start the application, I see the toolbar with the item displayed and when I move my mouse over the toolbar item I see the item's tooltip displayed together with the key binding I attached with the command. When I enter the key sequence the key binding is defined for, the handler is executed. This is the expected behavior.
However, when I expand the "Handled Tool Item" and add a parameter with the name of the parameter I defined in the command, this behavior changes. There's no key sequence displayed with the tooltip and entering the key sequence doesn't trigger the handler anymore.
Is this behavior a bug?
If not, what's the intention of this behavior?
Powered by FUDForum
. Page generated in 0.27704 seconds