Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85478

Calling the presentViewController method of UIView in the OC after you enter Chinese will crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.13.2
    • Quick: Controls 1
    • None
    • qt5.13.2 、xcode11.5、 iphone:iOS13.5.1
    • iOS/tvOS/watchOS

      This problem was discovered in my project. I realized the photo taking function through OC. However, when I filed Chinese words in Textfield and hid the keyboard, then called the photo taking function, the application would crash.

       

      Attached is a project I created, adding TextField and MessageDialog in main.qml, and then running it on iOS13.5.1 device. After startup, I tested the following two input contents:

       

      1. Enter the number in the input box, hide the keyboard and display the information box, and the application works normally.

       

      2. Enter Chinese in the input box, hide the keyboard, display the information box, and the application crashes (iOS12.3.4 has no such problem)

       

      Please help to solve, thank you!

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            zzz dragon Z
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes