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

Incorrect mouse selection in QTreeView with ExtendedSelection and stretchLastSection == false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.1.2, 6.2.0 Beta2, 5.15
    • Widgets: Itemviews
    • None

    Description

      If a content of a tree view doesn't occupy the whole viewport area (e.g. when stretchLastSection == false), then mouse selection that goes outside of the content produces incorrect results:

      1) if the selection is started outside of the content, then all items from the top of the selection to the bottom of the content become selected

      2) if the selection is started inside of the content, then it stops changing when the mouse goes outside of the content

      Attachments

        1. incorrect_selection1.png
          incorrect_selection1.png
          42 kB
        2. incorrect_selection2.png
          incorrect_selection2.png
          45 kB
        3. qtbug95436.zip
          3 kB
        For Gerrit Dashboard: QTBUG-95436
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            avolkov Alexander Volkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change