if I search for bjork and artist metafield is set to Björk, result is empty.
Can you please provide the output of the command: balooshow -x <filename>
Created attachment 112181 [details] searching for bjork 1
Created attachment 112182 [details] searching for bjork 2
Hi, sorry my problem is not in accent free search, but something completely different. Uploaded 2 screenshots, when I search "bjo" result is OK. BUt when I search for "bjor" it returns no result and that is wrong.
Michal, this is still missing the output from balooshow -x <filename> If you don't provide the information required for fixing this problem, we are unfortunately forced to close this bug.
If you can provide the information requested in comment #5, please add it.
In other words, are you saying that if file search feature is disabled in KDE, then search elisa is not working? balooshow -x ~/Music/Bjork/1993\ -\ Debut/01\ -\ Human\ Behaviour.mp3 The Baloo index could not be opened. Please run "balooctl status" to see if Baloo is enabled and working.
Thanks for the update; changing status for inspection.
(In reply to Michal Hlavac from comment #7) > In other words, are you saying that if file search feature is disabled in > KDE, then search elisa is not working? No, elisa *can* use baloo, but it does not have to. But the component is wrong then.
I tried to replicate the bug and I don't think the bug is still present. When I tried to play with it, the Search Bar doesn't recognize accented characters, not even the 'ö' letter. Just wanted to know, if it would be of any use to make accented characters searchable in NavigationActionBar.
I am currently unable to replicate the behavior you had encountered. To search for Björk, I have to type exactly "Bjö". I am not sure a change in behavior is sensible (like trying to find "Björk" when typing "Bjork").
Can this one be closed?
If you can provide the information requested in comment 12, please add it. Recents comments seem to indicate the issue is no longer reproducible.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Comment 12 is not asking for anything. Issue still occurs in 0.4.2 and has same behaviour. Comment 10 is wrong, bug is still present. Short video of this behaviour is in attachment
Created attachment 124522 [details] elisa wrong search
This smells like a Unicode combining diacritics issue for me. That would explain why "Bjo" brings up that track and "Bjor" doesn't. "Björk" (U+006F LATIN SMALL LETTER O, U+0308 COMBINING DIAERESIS) versus "Björk" (U+00F6 LATIN SMALL LETTER O WITH DIAERESIS)
Created attachment 145102 [details] Test track I could reproduce this, here's a dummy test track. Elisa doesn't do any Unicode normalization, I'm fairly sure that's the root cause of this.
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/319
Git commit 1747155bf2e32f0d182fcb1dca0db6431dbd136b by Nate Graham, on behalf of Yerrey Dev. Committed on 19/01/2022 at 16:25. Pushed by ngraham into branch 'release/21.12'. Enable unicode normalization on track data before matching Normalizes the value of mainValue, artistValue and oneArtist with Qt provided normalization before it is compared to mFilterExpression's mFilterText and used for search. mFilterText is also normalized before it's being matched against. With this fix the provided "Björk" file in the bug report is correctly found when searching "Björk" in the search bar. FIXED-IN: 21.12.2 M +1 -1 src/models/abstractmediaproxymodel.cpp M +1 -1 src/models/filebrowserproxymodel.cpp M +3 -3 src/models/gridviewproxymodel.cpp https://invent.kde.org/multimedia/elisa/commit/1747155bf2e32f0d182fcb1dca0db6431dbd136b
This does not work. Searching for artists e.g. "Björk" with the search prefix "Bjo" shows empty result.