Support => NGUI 3 Support => Topic started by: Extrawurst on December 10, 2013, 08:29:05 PM
Title: UIInput Bug on Blackberry?
Post by: Extrawurst on December 10, 2013, 08:29:05 PM
I have tested Input fields with the Q10 (hardware keyboard) but i could not place the caret/input-cursor in the middle of the input text just like one can do on desktop versions to edit text in arbitrary positions. shouldn't that work ?
Title: Re: UIInput Bug on Blackberry?
Post by: ArenMook on December 10, 2013, 09:19:40 PM
Assuming you mean clicking somewhere in the text to move the caret there, you can't do that on desktop either. It's a planned feature for 3.0.8 or 3.0.9.
Title: Re: UIInput Bug on Blackberry?
Post by: Extrawurst on December 11, 2013, 04:55:24 AM
Oh wow you are right, I just used the cursor keys on desktop to move the caret. Clicking to place it would be a really nice addition though!
Title: Re: UIInput Bug on Blackberry?
Post by: Extrawurst on December 11, 2013, 04:57:21 AM
BUT I have another problem with this. ON my Q10 when I hace an empty input field and i press backspace it actually inserts the \b char. This is not that obvious when using normal input but you see it when you use the password obfuscated version. then a "*" appears ...
Title: Re: UIInput Bug on Blackberry?
Post by: Extrawurst on December 11, 2013, 05:44:08 PM
Can you confirm this ? I had a similar issue with the IM-GUI of Unity and it was one of the reasons I bought NGUI to have a bug free BB10 GUI...
Title: Re: UIInput Bug on Blackberry?
Post by: ArenMook on December 12, 2013, 01:01:57 AM
Sounds like a nice bug on Unity's part. I can't test it as I don't have a BB10 device, but you can work around it by modifying line 417 of UIInput from the following:
string val = mKeyboard.text;
To the following:
string val = mKeyboard.text.Replace("\\b", "\b");
I'd strongly suggest you bug reporting it to Unity though, especially if it was like that in IMGUI.
Title: Re: UIInput Bug on Blackberry?
Post by: Extrawurst on December 15, 2013, 04:08:33 PM
yeah i filed a ticket for this at unity weeks ago: #575050
will this workaround be in the next release ?
Title: Re: UIInput Bug on Blackberry?
Post by: ArenMook on December 15, 2013, 04:19:28 PM