https://bugs.kde.org/show_bug.cgi?id=407512

            Bug ID: 407512
           Summary: Quick Open "Match Mode: Filepath" option does not work
           Product: kate
           Version: 19.04.1
          Platform: Slackware Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: k...@technoized.com
  Target Milestone: ---

SUMMARY
https://phabricator.kde.org/D19480 added a new option to choose whether quick
open matches only on filename or on the entire path. However, even when set to
"filepath," it is only matching on file names.

STEPS TO REPRODUCE
1. Set up a simple project, e.g.

```
mkdir test-project
cd test-project
echo '{"name": "test", "files": [ { "directory": ".", "filter": ["*.txt"] } ]}'
> .kateproject
mkdir more
for i in {1..10}; do echo $i > $i.txt; echo $i > more/$i.txt; done
kate 1.txt
```

2. In kate, verify that the "Match Mode" setting is set to "Filepath"
3. Activate Quick Open
4. See that all the text files created above are present.
5. Type "more/" into "Quick Open Search" box.

OBSERVED RESULT

No results are returned; all files get filtered out.

EXPECTED RESULT

The text files placed in the "more" directory" are shown, since their filepath
contains the input string "more/"

SOFTWARE/OS VERSIONS
Linux: Slackware 14.2+ (-current)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to