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

[Reg Qt6.4->6.5] The contentWidth of QML TableView is 0

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 79e46dd07 (dev), 3739bc027 (6.5)

    Description

      After upgrading to Qt 6.5.1 (or Qt 6.5.0) from Qt 6.4.3, the QML TableView does not return contentWidth from delegate implicitWidth like it used to.
      Attached sample application shows this well.

      • With Qt 6.4.3 the TableView is visible and contentWidth is 200
      • With Qt 6.5.1 the TableView is not seen as its contentWidth is 0

      The sample application works also on Qt 6.2 and Qt 6.3, the error has appeared in Qt 6.5

      Attachments

        1. QTBUG_113852.zip
          2 kB
        2. tableview_6.4.3.png
          tableview_6.4.3.png
          20 kB
        3. tableview_6.5.1.png
          tableview_6.5.1.png
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            santhoshkumar Santhosh Kumar Selvaraj
            ottoryynanen Otto Ryynänen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes