View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001418||NoesisGUI||C++ SDK||public||2019-03-07 01:59||2019-03-07 17:11|
|Target Version||2.2.0||Fixed in Version||2.2.0rc1|
|Summary||0001418: Key modifiers reported by MouseDown event is not accurate when clicking on inactivate window|
|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.
|Tags||No tags attached.|
I will have a look at it later today. Thanks for the report.
So, the step 4) is just doing a second click, same as in 3) ? I understand why 3) is reporting 0 (I know how to fix it) but I don't understand why 4) is not reporting 0 also
> So, the step 4) is just doing a second click, same as in 3) ?
Yes, just do another click after step 3
> I understand why 3) is reporting 0 (I know how to fix it) but I don't understand why 4) is not reporting 0 also
Yeah, I feel weird too.
I suspect 3) is because we are not sending Key events to Noesis when the window is not activated, but that doesn't explain what happens on step 4).
|Fixed in r7892|
|2019-03-07 01:59||nikobarli||New Issue|
|2019-03-07 02:02||nikobarli||Description Updated||View Revisions|
|2019-03-07 02:18||jsantos||Assigned To||=> jsantos|
|2019-03-07 02:18||jsantos||Status||new => assigned|
|2019-03-07 02:20||jsantos||Note Added: 0005508|
|2019-03-07 02:20||jsantos||Status||assigned => feedback|
|2019-03-07 05:36||nikobarli||Note Added: 0005510|
|2019-03-07 05:36||nikobarli||Status||feedback => assigned|
|2019-03-07 15:24||jsantos||Target Version||=> 2.2.0|
|2019-03-07 17:11||jsantos||Status||assigned => resolved|
|2019-03-07 17:11||jsantos||Resolution||open => fixed|
|2019-03-07 17:11||jsantos||Fixed in Version||=> 2.2.0rc1|
|2019-03-07 17:11||jsantos||Note Added: 0005511|