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

ListView's count property not updating when the ListView is inside a Drawer and the model gets its data from a network request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.7.1
    • None
    • Operating System: openSUSE Tumbleweed 20240619
      KDE Plasma Version: 6.0.5
      KDE Frameworks Version: 6.3.0
      Kernel Version: 6.9.5-1-default (64-bit)
    • Linux/Wayland
    • 6d76c8371 (dev), 21050410e (6.8), 7d5a4a882 (6.7), 39097ddee (tqtc/lts-6.5)

    Description

      I have a ListView that is inside a Drawer and whose model gets its data from a network request.
      Outside the drawer I have a button that opens the drawer and its text is set to the ListView's count property.
      The problem is that the button's text is 0 (zero) until the drawer is opened. 
      If I move the ListView outside the drawer the button's text is updated as expected.

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            gfb george fb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes