View Issue Details

IDProjectCategoryView StatusLast Update
0002340NoesisGUIC++ SDKpublic2023-03-27 12:14
Reportersfernandez Assigned Tosfernandez  
Status assignedResolutionopen 
Product Version3.1.4 
Target Version3.2 
Summary0002340: Create ShortcutTrigger that works well with focused TextBoxes
DescriptionUsing KeyBindings for shortcuts has many limitations if not using Ctrl modifiers when focus is inside TextBoxes. Because shortcut letters won't be written into the text box (see

The alternative of using a KeyTrigger presents the opposite problem, because when the TextBox is focused the letters will be correctly added, but the trigger will also fire and execute its actions.

To avoid these problems we need to implement a trigger that is aware of TextBox/PasswordBox being focused before trying to invoke the actions, something like this:

void ShortcutTrigger::OnKeyPress(BaseComponent*, const Noesis::KeyEventArgs& e)
    if (GetKey() == e.key && CheckModifiers() &&
        Noesis::DynamicCast<Noesis::TextBox*>(e.source) == 0 &&
        Noesis::DynamicCast<Noesis::PasswordBox*>(e.source) == 0)
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-04-29 19:15 sfernandez New Issue
2022-04-29 19:15 sfernandez Assigned To => sfernandez
2022-04-29 19:15 sfernandez Status new => assigned
2022-04-29 19:15 sfernandez Target Version => 3.2.0
2023-03-27 12:14 jsantos Target Version 3.2.0 => 3.2