View Revisions: Issue #1418

Summary 0001418: Key modifiers reported by MouseDown event is not accurate when clicking on inactivate window
Revision 2019-03-07 02:02 by nikobarli
Description 1. Spawn any NoesisGUI window
2. Click on any other window -> the NoesisGUI window deactivated
3. Hold-on Shift + Ctrl key, then click on the NoesisGUI window
-> Inside MouseDown handler, element->GetKeyboard()->GetModifiers() reported no Modifiers (0, expected 6 -> ModifierKeys_Shift (4) | ModifierKeys_Control(2))
4. Still Hold-on Shift + Ctrl key, click on the NoesisGUI window again
-> Inside MouseDown handler, element->GetKeyboard()->GetModifiers() reported either Shift or Control is held (2 or 4, expected 6 -> ModifierKeys_Shift (4) | ModifierKeys_Control(2))

If this is a bug, is there any easy way to workaround it ?

# WPF seems able to handle both cases on step 3 and 4.
Revision 2019-03-07 01:59 by nikobarli
Description 1. Spawn any NoesisGUI window
2. Click on any other window -> the NoesisGUI window deactivated
3. Hold-on Shift + Ctrl key, then click on the NoesisGUI window
-> Inside MouseDown handler, element->GetKeyboard()->GetModifiers() reported no Modifiers (0, expected 6 -> ModifierKeys_Shift (4) | ModifierKeys_Control(2))
4. Still Hold-on Shift + Ctrl key, click on the NoesisGUI window again
-> Inside MouseDown handler, element->GetKeyboard()->GetModifiers() reported either Shift or Control is held (2 or 4, expected 6 -> ModifierKeys_Shift (4) | ModifierKeys_Control(2))

If this is a bug, is there any easy way to workaround it ?