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

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes