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

Key_Home doesn't go to the first visible index if the first row is hidden, but the first visible one

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: 4.8.4, 5.1.1
    • Fix Version/s: 5.13.0 Alpha 1
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:
      Windows, Linux
    • Platform/s:
      All
    • Commits:
      f568bfce641f52b4641b5d8281c99742f1ae6f40

      Description

      The attached example can be used to reproduce the issue. If the first item in QTreeWidget is hidden, the Home key doesn't go to the first index, but the first visible in the viewport.

      The patch attached fixes the issue.

        Attachments

        1. bug34832.zip
          2 kB
        2. patch.diff
          0.5 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-34832
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              chehrlic Christian Ehrlicher
              Reporter:
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes