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

Cannot background app on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.13.1
    • GUI: OpenGL
    • None
    • iOS-13.1.2
      Xcode-11.0
    • iOS/tvOS/watchOS

    Description

      The following crash occurs when backgrounding (or quitting) an app on iOS:

      qioscontext.mm:327:auto (anonymous class)::operator()(Qt::ApplicationState, Qt::ApplicationState) const(): explicitly glFinishing and deactivating QOpenGLContext(0x280269970, nativeHandle=QVariant(Invalid), format=QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile), surface=0x28246d630, screen="iPhone built-in display")
      qioscontext.mm:337:None(): ASSERT failure in QIOSContext: "OpenGL ES calls are not allowed while an application is backgrounded", file qioscontext.mm, line 337
      

      Attachments

        Issue Links

          Activity

            People

              lagocs Laszlo Agocs
              patrickkiddak Patrick Stinson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: