Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-4651

Assert when opening GradientPresetList

    XMLWordPrintable

Details

    Description

      When building against Qt6.2, there is an assert when opening GradientPresetList. If you ignore the assert, everything seems to work fine:

      ---------------------------
      Microsoft Visual C++ Runtime Library
      ---------------------------
      Debug Error!

      Program: C:\dev\qt\qt62-build\qtbase\bin\Qt6Cored.dll
      Module: 6.2.0
      File: C:\dev\qt\qt6\qtbase\src\gui\util\qgridlayoutengine.cpp
      Line: 246

      ASSERT: "sumFactors > 0.0" in file C:\dev\qt\qt6\qtbase\src\gui\util\qgridlayoutengine.cpp, line 246

      (Press Retry to debug the application)

      ---------------------------
      Abort Retry Ignore
      ---------------------------

       

      If you comment out all anchoring from GridView in GradientPresetTabContent.qml, the assert goes away, but nothing will be shown. Any width/height dependency to the parent seems to trigger this.

      Attachments

        Activity

          People

            henning Henning Gründl
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: