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

FieldFilter::addFilter doesn't work as expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • 6.8
    • QML: Tooling
    • None

    Description

      When filter is added using addFilter, during the visitTree it's not respected in the way it does when created in the beginning. However "description" works correctly.

       

      Once fixed, it will allow us:

      1. be confident and more flexible when using Filters while traversing gigantic DOMTree
      2. Remove unnecessary tedious specification of fields like the one here: https://codereview.qt-project.org/c/qt/qtdeclarative/+/575407/44/src/qmlls/documentSymbolSupport/documentsymbolutils.cpp#83

       

      Details:

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/566641/21/tests/manual/qmldom/dataModel/qmldomdatamodel.cpp#373

      Attachments

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

        Activity

          People

            dima.a Dmitrii Akshintsev
            dima.a Dmitrii Akshintsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes