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

QInputDialog::getItem makes app not responsible and might generate an error with the EGL lib: EGL_BAD_MATCH

    XMLWordPrintable

Details

    • Android
    • 2024wk44s3FOQtforAndroid, 2024wk46s3FOQtforAndroid, 2024wk50s3FOQtforAndroid

    Description

      Hi,

       

      it seems that there is a problem on Android when a Widget Project uses a QComboBox on a Qdialog, at least when it makes the call to QInputDialog::getItem; making such a call will generate:

      E EGL_emulation: tid 20601: eglMakeCurrent(1920): error 0x3009 (EGL_BAD_MATCH)
      E libEGL  : eglMakeCurrentImpl:1053 error 3009 (EGL_BAD_MATCH)
      W libstandarddialogs_x86_64.so: QEGLPlatformContext: eglMakeCurrent failed: 3009
      W libstandarddialogs_x86_64.so: QRhiGles2: Failed to make context current. Expect bad things to happen.
      W libstandarddialogs_x86_64.so: Failed to create QRhi for QBackingStoreRhiSupport
      W System  : A resource failed to call Surface.release.

      To see this:

      • use a Android's VM through Android Studio
      • use the example « Standard Dialogs Example » (here
      • once built and started, click on the « QInputDialog::getItem » button

       

      I can confirm that real phone have the same problem (it even crash the application).

       

      PS : tested with

      • ANDROID_PLATFORM: android-23
      • ndk: 27.0.11718014

      Attachments

        1. build_step.png
          build_step.png
          39 kB
        2. environnement_variables.png
          environnement_variables.png
          58 kB
        3. standarddialogs.7z
          70 kB
        4. application_output.log
          9 kB
        5. build.log
          14 kB
        6. android_vm.txt
          2 kB
        7. QTBUG-128676-x86-64-API34.mp4
          149 kB

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              lem__mel Majid EL IDRISSI
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes