Bug 413842 - Wishlist: search not sensitive to special characters / diacritics
Summary: Wishlist: search not sensitive to special characters / diacritics
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-TreeView (show other bugs)
Version: 6.4.0
Platform: Appimage Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 15:02 UTC by MarcP
Modified: 2022-02-05 21:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.