Allow filtering by paths in folder selection Currently, filtering in the folder selection dialog (when using the "move to", "copy to" or "jump to" actions) matches the entered text against the name of the folders. In the past, it was also possible to filter by paths by typing '/', e.g. typing 'foo/bar' would show folders matching "bar" that are subfolders of folders matching "foo". This should be made possible again.
taking
Git commit dc60839a851c8db9b3b24eab759405e18f9b2ae1 by Ingo Klöcker. Committed on 15/10/2021 at 15:29. Pushed by kloecker into branch 'master'. Add hierarchical filtering of folders This allows filtering a hierarchy of folders with path patterns like "parent/sub" which matches all folders matching "sub" with parent folders matching "parent". Funded by: Intevation GmbH FIXED-IN: 5.19.0 M +89 -0 autotests/foldertreewidgettest.cpp M +1 -0 src/CMakeLists.txt M +19 -0 src/folder/entitycollectionorderproxymodel.cpp M +7 -0 src/folder/entitycollectionorderproxymodel.h M +11 -9 src/folder/foldertreewidget.cpp A +103 -0 src/folder/hierarchicalfoldermatcher.cpp [License: GPL(v2.0+)] A +37 -0 src/folder/hierarchicalfoldermatcher_p.h [License: GPL(v2.0+)] https://invent.kde.org/pim/mailcommon/commit/dc60839a851c8db9b3b24eab759405e18f9b2ae1
Git commit de9c5f286dc5418747b19be27e0d65926cd5fab1 by Ingo Klöcker. Committed on 12/11/2021 at 13:27. Pushed by kloecker into branch 'master'. Add some documentation for the HierarchicalFolderMatcher This explains how the matching works, gives a few examples, and lists design considerations. Funded by: Intevation GmbH CCMAIL: bernhard@intevation.de M +34 -0 src/folder/hierarchicalfoldermatcher_p.h https://invent.kde.org/pim/mailcommon/commit/de9c5f286dc5418747b19be27e0d65926cd5fab1