Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.12, 5.15.14, 6.5.2
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.