https://bugs.kde.org/show_bug.cgi?id=474461
Bug ID: 474461 Summary: Search in files in folder: support ~ (tilde) Classification: Applications Product: kate Version: 23.08.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: search Assignee: kwrite-bugs-n...@kde.org Reporter: groszdaniel...@gmail.com Target Milestone: --- SUMMARY In the Search plugin in In Folder mode, the Folder field should support ~ and ~username to specify the current or another user's home directory. It's especially confusing that it's currently unsupported because text completion in the field does show subdirectories of directories specified with ~ or ~username. It would also be a good idea to show an error (e.g. make the field red) if the starting path doesn't exist or is invalid. STEPS TO REPRODUCE 1. Open the Search sidebar. 2. Set the mode to In Folder. 3. Specify ~, or a path starting with ~. 4. Click Search. OBSERVED RESULT The search result will be empty. EXPECTED RESULT Search in the path specified inside the home directory. Alternatively, don't have completion complete paths as if ~ is interpreted as the home directory, and show an error if the search path doesn't exist. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20230910 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.11-1-default (64-bit) Graphics Platform: X11 -- You are receiving this mail because: You are watching all bug changes.