| Summary: | Search & Replace silently fails on non-existent folders | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Andrew M <quantumphazor> |
| Component: | search | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | 24.05.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/00f512e62184039cec5e2b75dc0ac7ccb2fa0003 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Andrew M
2024-07-02 03:58:34 UTC
void FolderFilesList::checkNextItem(DirectoryWithResults &handleOnFolder) const
{
/**
* IMPORTANT: this member function is called by MULTIPLE THREADS
* => it is const, it shall only modify handleOnFolder
*/
if (m_cancelSearch) {
return;
}
QDir currentDir(handleOnFolder.directory);
if (!currentDir.isReadable()) {
// qDebug() << currentDir.absolutePath() << "Not readable";
return;
}
atm we just skip that, perhaps we should add some kind of dummy entry for such cases to the results
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1710 Git commit 00f512e62184039cec5e2b75dc0ac7ccb2fa0003 by Christoph Cullmann. Committed on 03/02/2025 at 09:24. Pushed by cullmann into branch 'master'. abort search with error if the base dir is not there M +14 -0 addons/search/SearchPlugin.cpp https://invent.kde.org/utilities/kate/-/commit/00f512e62184039cec5e2b75dc0ac7ccb2fa0003 |