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

ExtendedSelection Row Removal Reverses Selection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      Removing a row from a QTreeView which has ExtendedSelection deselects all rows and moves the focus to the row before the one removed (unexpected behavior). It does this regardless, even if there's only a single row selected. With SingleSelection it does the opposite, it moves the selection to the next row (expected behavior). This can be reproduced in the official "Editable Tree Model Example" by changing the selection mode of the view in the form designer and running/testing.

        Attachments

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

          Activity

            People

            Assignee:
            dfaure_kdab David Faure
            Reporter:
            RobertBColton Robert B. Colton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes