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

ListView highlight size reduced to 0 when the model is cleared

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes