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

The focus item doesn't lose focus when the scene is deactivated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.8.4, 5.0.0 Beta 2, 5.2.1
    • Widgets: GraphicsView
    • None

    Description

      When a scene is deactivated, you would expect the focus item, if any, to temporarily lose focus, and then regain focus once the scene is reactivated again.

      Scene activation follows that of the views. If one or more views are active, and rendering content from the scene, the scene is activated. And if no views are active, the scene is deactivated. What's confusing is that items on the scene that have focus don't get QEvent::FocusOut and QEvent::FocusIn when the scene activation changes, as is required to e.g. stop a cursor from blinking.

      Attachments

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

        Activity

          People

            bibr Andreas Aardal Hanssen
            bibr Andreas Aardal Hanssen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes