Bug 403097

Summary: Quick Open Search can't search by folder name
Product: [Applications] kate Reporter: mokush <contact>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: a.samirh78, emmanuel.lepage
Priority: NOR    
Version: 18.12.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 19.08.0
Sentry Crash Report:
Attachments: Quick Open Search doesn't work with folder names

Description mokush 2019-01-11 10:42:11 UTC
Created attachment 117398 [details]
Quick Open Search doesn't work with folder names

Quick Open Search can't search by folder name anymore. Typing the folder name in the quick open search field doesn't return any results.

This used to work in the previous `18.08.x` versions.

STEPS TO REPRODUCE
1. Open a Kate project with nested folders
2. Open Quick Open
3. Type in the folder name

OBSERVED RESULT
It doesn't return any results.

EXPECTED RESULT
It should return all the files in the specific folder, or a specific file if searching with `folder/file`.
Comment 1 Emmanuel Lepage Vallée 2019-01-21 03:58:48 UTC
I confirm this regression happens on 18.12

Another little regression is that if no file is selected in the quick open, a new untitled file is selected while it would previously be equivalent to "switch to the last used file"
Comment 2 Ahmad Samir 2019-03-18 06:32:38 UTC
Fixed by https://phabricator.kde.org/D19480
Comment 3 mokush 2019-03-26 09:00:56 UTC
Still seeing the same issue with the latest `18.12.3` version.

For example typing a project subfolder name in Quick Open returns no results.
Comment 4 Christoph Feck 2019-03-26 09:48:30 UTC
The fix was committed to master branch, to be released in August as 19.08.0, see the "Version Fixed In:" field.