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

Custom delegate focus issues with QTreeView in a QGraphicsScene

    XMLWordPrintable

Details

    • 307791

    Description

      When a QTreeView is added to a QGraphicsScene, custom delegates on the QTreeView are not maintaining focus properly.

      For example, if a delegate is set to use a QSpinBox, the user can click the cell, and bring up the spinbox, however, clicking on the up/down button on the spinbox will simply cause the delegate to close.

      This does not happen to the same QTreeView that is not added to a QGraphicsScene.

      This can also be reproduced with a QComboBox as the delegate.

      Resolution: Most issues have now been fixed and submitted to Qt 4.4.1. Some issues remain (Combobox editor) which require changes that seem too risky for Qt 4.4.x. We've rescheduled this task and will backport the fix if the fix turns out to be simple.

      Attachments

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

        Activity

          People

            hanssen Andreas Aardal Hanssen (closed Nokia identity) (Inactive)
            gpf Shane McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes