ivan_b
Topic Author
Posts: 87
Joined: 22 Jul 2015, 12:57

Keyboard problem

23 Feb 2016, 08:56

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.
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: Keyboard problem

26 Feb 2016, 13:19

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.
 
ivan_b
Topic Author
Posts: 87
Joined: 22 Jul 2015, 12:57

Re: Keyboard problem

26 Feb 2016, 16:01

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.
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: Keyboard problem

26 Feb 2016, 18:03

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.
 
ivan_b
Topic Author
Posts: 87
Joined: 22 Jul 2015, 12:57

Re: Keyboard problem

27 Feb 2016, 12:12

Thank you
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Keyboard problem

29 Apr 2016, 15:05

Fixed in 1.2.6!

Who is online

Users browsing this forum: No registered users and 0 guests