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

Listview.*section attached properties behave weird/buggy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.1
    • None

      ListView's attached properties ListView.*section don't always return what they should.
      ListView.nextSection first updates to the right next section ("Tiny") and then goes back to the wrong empty string.

      The weird thing that even seemingly unrelated things can turn this behavior on/off, for example, in the attached file you can "fix" it be changing the Window back to being Rectangle.

      With Rectangle as root element you get: https://pastebin.com/hCr8ZbXk  (correct) 

      With (as attached) Window as root element you get: https://pastebin.com/aRC2kUTu

      The first element gets the right 2 updates, then it gets a third one which resets nextSection to empty string

        1. sections.qml
          2 kB
          Thomas Senyk
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nicolauz Thomas Senyk
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes