Search Issue Tracker

Fixed in Unity 2017.2

Votes

62

Found in

5.3.1f1

Issue ID

758761

Regression

No

When pressing outside the touchscreen keyboard on Android devices, wasCanceled state is false

Android

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 3Workaround is possible

It is impossible to distinguish between pressing "DONE"/"OK" on the touchscreen keyboard and pressing outside the keyboard area on Android devices. Pressing outside the keyboard is an indication of the user wanting to cancel.

Reproduction steps:
1. Open the attached project
2. Build on Android device
3. Press outside the touchscreen keyboard
4. Notice that the canceled state is false

Note: When clicking the back button canceled state is true, but the done state is also true.

Fixed in: 2017.2.0b2
Introduced new API: TouchScreenKeyboard.status which returns an enum (Visible, Done, Canceled, LostFocus) for keyboard actions.

Comments (22)

  1. 0392952f7d73db01a775f193233b465a?d=mm

    MaydayWorks

    Nov 03, 2017 17:42

    Hope this fix could be merge into 5.6.4

  2. 87b2c462d01d2b9c3e720feb2294b054?d=mm

    rayriver

    Jul 03, 2017 13:26

    Not fixed in 5.6.1f1

  3. 9c00ae20670f7e6193c7c47f95d2955c?d=mm

    emppafi

    Jun 21, 2017 06:42

    Has this fix been released yet?
    I tried to find information about it, but could not find anything in current patches or releases.

  4. 71cb5bdc73bba20d73fc4c24f0fdbdfe?d=mm

    PNordlund

    Jun 15, 2017 12:24

    So in which version this bug is fixed?

  5. 7792815d04a025f82d67105ef95053a0?d=mm

    HuntNight

    Jun 01, 2017 14:27

    Why voting was disabled? Bug is not fixed in the latest version.

  6. 7792815d04a025f82d67105ef95053a0?d=mm

    HuntNight

    May 29, 2017 15:19

    Have this problem too. Why this bug so long not solved?

  7. 9091efa52ba38d0058f62916d89bb6a2?d=mm

    DurbsDev

    May 03, 2017 09:18

    @Unity please see my comment DurbsDev Sep 20, 2016 09:55 which I believe is the appropriate way forward to address this issue.

  8. C3fd727664f08e7a94817e38932fe959?d=mm

    skyrusfxg

    Apr 19, 2017 08:43

    Does anybody have a work around for this?

  9. 5b4df4462a42c924f0019f7bd2bda38f?d=mm

    Limshi

    Apr 12, 2017 09:42

    Does anybody have a work around for this?

  10. 551c57213fd89d23b2d7633b385e32e0?d=mm

    LKWD_JamesD

    Apr 03, 2017 12:25

    Also affects iOS keyboard.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.