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

Assert in QQuickStackLayout::cachedItemSizeHints

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.15.11
    • None
    • All

    Description

      It seems QQuickStackLayout::m_cachedItemSizeHints has been changed from a QHash to a QVector, but some places still assume it's a QHash, leading to an assert and/or crash :

      QQuickStackLayout::SizeHints &QQuickStackLayout::cachedItemSizeHints(int index) const {
          SizeHints &hints = m_cachedItemSizeHints[index];
          if (!hints.min().isValid())
              QQuickStackLayout::collectItemSizeHints(itemAt(index), hints.array);
          return hints;
      }
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jcugniere_infflux Julien CUGNIERE
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes