Page 1 of 1
Keyboard problem
Posted: 23 Feb 2016, 08:56
by ivan_b
Hi
in Unity with "Ctrl + Alt + V" I run the paste command, but instead it should display the "@" symbol.
I have a croatian keyboard on Windows. I tried to report a bug but could not log in.
Re: Keyboard problem
Posted: 26 Feb 2016, 13:19
by sfernandez
Should Paste command be raised by Ctrl+V only, without the Alt key? With my spanish keyboard I use Ctrl+C (copy), Ctrl+X (cut) and Ctrl+V (paste).
Anyway, could you please open Assets\Plugins\NoesisGUI\Scripts\Core\NoesisUIRenderer.cs script and add debug log messages to every KeyDown/KeyUp message it is received:
- Line 361: Inside ProcessModifierKey, before Noesis_KeyDown and Noesis_KeyUp.
- Line 443: Inside case UnityEngine.EventType.KeyDown, before Noesis_KeyDown and Noesis_Char
- Line 487: Inside case UnityEngine.EventType.KeyUp, before Noesis_KeyUp
Lines may differ in your version.
Please paste here the key/character codes sent to Noesis when the sequence Ctrl+Alt+V is preseed.
Re: Keyboard problem
Posted: 26 Feb 2016, 16:01
by ivan_b
For example, in notepad the "Ctr + Alt + C/X" does not run the copy/cut command, only "Ctrl + C/X".
I get the messages in the following order: Control, Alt, 73, 73, Alt, Control.
Re: Keyboard problem
Posted: 26 Feb 2016, 18:03
by sfernandez
I think I know what is happening...
We have a bug in our KeyGesture matching process. We should only match the Ctrl+C KeyBinding if only Ctrl key is pressed, and don't match if other modifier key is pressed.
We will fix it for the next release.
Re: Keyboard problem
Posted: 27 Feb 2016, 12:12
by ivan_b
Thank you
Re: Keyboard problem
Posted: 29 Apr 2016, 15:05
by jsantos
Fixed in 1.2.6!