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

ListView highlight size reduced to 0 when the model is cleared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.4
    • 4.7.2
    • None
    • not reproducible with windows 4.7.2, but reproducible with meego 4.7.2
    • 77342ad3e7beecb75c136ee26c0c77cd1a41b415

      When the model of a ListView is cleared programatically by calling model.clear(), the highlight disappers. please see the attached test app to showcase the issue.

      it turns out it has nothing to do with showing/hiding it so all you need to do is show it, clear it and repopulate it and you'll see the error

        1. 234321.tar.gz
          18 kB
          Anthony Sham
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            martjone Martin Jones (closed Nokia identity) (Inactive)
            sham Anthony Sham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes