Author Topic: UIInput Bug on Blackberry?  (Read 3635 times)

Extrawurst

  • Guest
UIInput Bug on Blackberry?
« 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 ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput Bug on Blackberry?
« Reply #1 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.

Extrawurst

  • Guest
Re: UIInput Bug on Blackberry?
« Reply #2 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!

Extrawurst

  • Guest
Re: UIInput Bug on Blackberry?
« Reply #3 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 ...

Extrawurst

  • Guest
Re: UIInput Bug on Blackberry?
« Reply #4 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...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput Bug on Blackberry?
« Reply #5 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:
  1. string val = mKeyboard.text;
To the following:
  1. 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.

Extrawurst

  • Guest
Re: UIInput Bug on Blackberry?
« Reply #6 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 ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput Bug on Blackberry?
« Reply #7 on: December 15, 2013, 04:19:28 PM »
Already in place.