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

Problem with FocusScope and activeFocus since Qt 4.8.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.x
    • 4.8.2
    • None
    • Linux Desktop

    Description

      We have a problem that appeared with the correction in QDeclarativeItem::hasActiveFocus() in 4.8.2 release.

      The documentation http://qt-project.org/doc/qt-4.8/qdeclarativefocus.html states that: “Both the focus scope and the sub-focused item will have activeFocus property set.”

      Here is an example (two files) to illustrate the incorrect behavior. The grey enclosing box doesn’t show ‘activeFocus=true’ at any time in 4.8.2 and 4.8.3, as it did before.

      Attachments

        1. ListView_FocusScope.qml
          2 kB
        2. test.qml
          0.5 kB

        Issue Links

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

          Activity

            People

              bibr Andreas Aardal Hanssen
              apap_ Loic Martin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes