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

QItemSelectionModel::hasSelection is inconsistent

XMLWordPrintable

    • 8
    • 0c2125458a9fdddaf3385b257ba4350da872a1d1 (qt/qtbase/dev) 8eda2c4c57e1f30e49a99d38ff1865397b5749e8 (qt/qtbase/6.2)
    • Qt6_Foundation_Sprint 34, Qt6_Foundation_Sprint 35, Qt6_Foundation_Sprint 37, Qt6_Foundation_Sprint 38

      Selecting some items and then marking them as unselectable results in a situation where nothing is selected, yet hasSelection() returns true.

      To reproduce, just run unit tests in
      https://codereview.qt-project.org/c/qt/qtbase/+/345534/9

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

            andreasbuhr Andreas Buhr
            andreasbuhr Andreas Buhr
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes