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

Hovering over an editor from a QStyledItemDelegate in a QTreeView, the selection changes to the item.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.2
    • Widgets: Itemviews
    • None
    • macOS, Windows

    Description

      When hovering over an editor from a QStyledItemDelegate in a QTreeView, the selection changes to the item, and focus is automatically taken by the editor on the QStyledItemDelegate

      In Qt 5.15, the selection wouldn't change until the editor is being clicked on and focus is taken.

      Attached is a PySide6 example using a QLineEdit as editor.

      This issue is blocking us from deploying our Qt6 app to our users.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            esmolikowski Eric Smolikowski
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes