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

Details

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

    Description

      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!

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes