Bug 413842

Summary: Wishlist: search not sensitive to special characters / diacritics
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Albums-TreeViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, iwannaberich
Priority: NOR    
Version: 6.4.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description MarcP 2019-11-05 15:02:45 UTC
SUMMARY
This is for the wishlist. I think it would be more intuitive if the search results in the tree view (including folders, tags, and people panels) were not sensible to special/international characters, the same way they are not case-sensitive.

For instance. Let's say I have tagged people with the first name Àlex, Álex and Alex. If I type "Alex", only the latter will appear. If I type "Àlex", only the second one. I guess you know where I am going.

I would love if when I write "Alex" in the search box, the three of them should appear.

So basically, my proposal is that diacritics are ignored in the search box. Pérez should be treated as "perez", Françoise as "francoise", cañón as "canon", etc.

PS: this suggestion has its origin in a family argument, where a relative insisted that I write all tags without accents so they are easier to find.
Comment 1 caulier.gilles 2019-11-07 09:59:38 UTC
yes, AppImage has a run-time problem with ICU dependency which manage locale from system.

I tried to fix it with the Qt source code build but it fail to compile).

This problem was already reported in another file :

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

There is a work around to force locale when you start AppImage executable. Look well in report...

Gilles Caulier

*** This bug has been marked as a duplicate of bug 410980 ***
Comment 2 caulier.gilles 2022-01-19 19:08:59 UTC
Git commit 00e4d5da2948ccdc101cdeeb23f7b05405812436 by Gilles Caulier.
Committed on 19/01/2022 at 19:04.
Pushed by cgilles into branch 'master'.

Great news : AppImage with Qt 5.15.2 compiled under Mageia 7.1 now support ICU
This require to recompile whole AppImage build system on Continuous Deployement server.
This will be done in a few days. I only tested here on my laptop, and i can confirm that ICU work fine now.
Related: bug 406583, bug 425168, bug 418670, bug 410980, bug 407506

M  +2    -3    project/bundles/3rdparty/ext_qt/5.15/CMakeLists.txt

https://invent.kde.org/graphics/digikam/commit/00e4d5da2948ccdc101cdeeb23f7b05405812436
Comment 3 MarcP 2022-01-19 19:10:56 UTC
This is great to hear! Right now it's quite difficult to search for specific people if they have accents in their name.
Comment 4 caulier.gilles 2022-02-05 17:37:01 UTC
Hi,

With the ICU support introduced in next 7.6.0 release, this problem is now fixed.

You can test using 7.6.0 pre-release AppImage bundle available here : https://files.kde.org/digikam/

Best Regards

Gilles Caulier
Comment 5 MarcP 2022-02-05 21:03:21 UTC
Hi, with digiKam-7.6.0-20220205T123907-x86-64.appimage, the issue is still there.