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

QDockWidget refuse to render when Qt::WA_NativeWindow is set

    XMLWordPrintable

Details

    • Windows

    Description

      If QDockwidget is set with attribute Qt::WA_NativeWindow when it is undocked it throws bunch of messages

      [26680:8220:0918/085816.198:INFO:CONSOLE(17)] "Bad element for Flickity: null", source: https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js (17)
      [26680:8220:0918/085816.198:INFO:CONSOLE(17)] "Bad element for Flickity: null", source: https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js (17)
      js: Uncaught TypeError: Cannot read property 'addEventListener' of null
      [26680:8220:0918/085816.203:INFO:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'addEventListener' of null", source: https://www.qt.io/hs-fs/hub/149513/hub_generated/module_assets/84190938028/1694674579627/module_84190938028_Logo_Listing.min.js (1)
      [26680:8220:0918/085816.203:INFO:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'addEventListener' of null", source: https://www.qt.io/hs-fs/hub/149513/hub_generated/module_assets/84190938028/1694674579627/module_84190938028_Logo_Listing.min.js (1)
      [26680:8220:0918/085816.825:INFO:CONSOLE(1)] "lazy Image ON", source: https://cdn2.hubspot.net/hub/149513/hub_generated/template_assets/84194138523/1694675132489/qtv3/assets/js/swiss-main.js (1) 

      If QWebEngineViewis set, then on undock this does not renders anything and prints bunch of following messages

      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed 

      With  6.5.2 undocking crash.

      Attached example reproduces it.

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes