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

--- Comment #43 from Méven <me...@kde.org> ---
Git commit a5c47cd8c3cf7d01fbc1a7f7e2e124381b18e67d by Méven Car, on behalf of
Archaeopteryx Lithographica.
Committed on 24/04/2025 at 13:04.
Pushed by meven into branch 'master'.

[Query] Canonicalise the working directory before starting search.

The existing code can fail after following a symlink in Dolphin and
searching "from there".

Test case is if you have a symlink in ~/Desktop pointing to ~/Documents.
If you follow the symlink, Dolphin will consider its working directory
~/Desktop/Documents.

Baloo does not follow symlinks when indexing (so indexes the canonical
names). Searching "from" a breadcrumb trail, ~/Desktop/Documents, will
not give any matches.

Canonicalise the working folder on entry to convert the breadcrumb trails
to actual folders.

This change has already been done for the command line balooctl and
the equivalent has been submitted for filenamesearch
(https://invent.kde.org/network/kio-extras/-/merge_requests/408)

M  +13   -3    src/kioworkers/search/kio_search.cpp

https://invent.kde.org/frameworks/baloo/-/commit/a5c47cd8c3cf7d01fbc1a7f7e2e124381b18e67d

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

Reply via email to