Bug 465333

Summary: [Arabic] App menu search is sensitive to Arabic diacritics
Product: [Plasma] krunner Reporter: Amr K. <akkk33>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, nate
Priority: NOR    
Version: 5.26.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Step 3 in Steps to reproduce
Step 5 in "Steps to REPRODUCE"
The Korganizer app appears when adding ّ diacritic above the letter ظ

Description Amr K. 2023-02-05 19:28:14 UTC
Created attachment 155972 [details]
Step 3 in Steps to reproduce

SUMMARY

When searching for an app that has diacritics (accents) in its name, the KDE plasma search should ignore them.
Let's take Korganizer as an example, its name is (منظّمك), notice the (ّ) diacritic above the letter (ظ).
Normally, a user would search using just letters without including diacritics, so if I try typing (منظمك) I won't get results.


STEPS TO REPRODUCE
1. Set locale to ar_EG for example
2. Install Korganizer
3. Open the application launcher and type منظ
4. Notice the Korganizer appearance.
5. Now add the next letter م
6. Notice it disappears despite the correct spelling

OBSERVED RESULT
KDE app launcher search can't distinguish between letters and diacritics.

EXPECTED RESULT
You should get the search results regardless of the diacritics.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Amr K. 2023-02-05 19:29:45 UTC
Created attachment 155973 [details]
Step 5 in "Steps to REPRODUCE"
Comment 2 Amr K. 2023-02-05 19:31:56 UTC
Created attachment 155974 [details]
The Korganizer app appears when adding ّ  diacritic above the letter ظ