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

ListView resets content positioning on model layout changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.3.1
    • 5.2.0 Beta1
    • None
    • Tested with Linux x86_64 and Android armeabi-v7a
    • a0aefe111758b2267f1bf5fbb26991cbc6dd804d

      ListView resets content positioning when its attached model model emits "layoutAboutToBeChanged" and "layoutChanged". This is a regression from 5.1.0.

      Attached is a simple test application that triggers the bug. Run the app, scroll the list a bit down, and see how the list position resets every three seconds.

        1. ListView-Bug.zip
          15 kB
          Antti Poikela
        2. ListView-Bug2.zip
          3 kB
          Antti Poikela
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            dvratil Daniel Vrátil
            anttip Antti Poikela
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes