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

QGraphicsItem doesn't notify focus scope item changes if the scope doesn't have focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.0.1
    • 4.8.4, 5.0.0
    • Widgets: GraphicsView
    • None
    • I12ba9161b16d34c3689401a92c86d2047989f7bd

      The private function QGraphicsItemPrivate::focusScopeItemChange() is called by QGraphicsItem whenever the d_ptr->focusScopeItem variable changes. This is to notify QDeclarativeItem that the focus scope item has changed, allowing it to correctly emit the focusChanged() signal.

      This works fine except when the scope does not have focus. QGraphicsItem updates the pointer but doesn't send the notification, so QDeclarativeItem has no way of notifying the change to QML snippets that need to react to changes to the focus property.

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

            bibr Andreas Aardal Hanssen
            bibr Andreas Aardal Hanssen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes