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

FieldFilter::addFilter doesn't work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Some future release
    • 6.8
    • QML: Tooling
    • None

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes