Bug 496349

Summary: Hotkey settings search bar always searches in English
Product: [Applications] Haruna Reporter: Morgân von Brylân <morgan.vbrylan>
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Morgân von Brylân 2024-11-16 15:27:23 UTC
SUMMARY
In the hotkey settings, the search bar ignores the localization and only works in English.

STEPS TO REPRODUCE
1. Start Haruna in another language
2. Open the hotkey settings
3. Type that language's word for "speed" in the search bar (for instance "vitesse" in French)

OBSERVED RESULT
Results are empty. 

EXPECTED RESULT
The speed hotkeys are shown.

If instead you search "speed", the speed hotkeys do appear.

SOFTWARE/OS VERSIONS
OS: Nobara 40
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Comment 1 george fb 2024-11-27 06:48:39 UTC
Git commit e51972e6f66caf9fe67f78f8cffdc3faa42d997d by George Florea Bănuș.
Committed on 27/11/2024 at 06:48.
Pushed by georgefb into branch 'master'.

actionsmodel: search action text too when filtering

M  +7    -5    src/models/actionsmodel.cpp
M  +3    -2    src/models/actionsmodel.h

https://invent.kde.org/multimedia/haruna/-/commit/e51972e6f66caf9fe67f78f8cffdc3faa42d997d
Comment 2 george fb 2024-12-16 21:45:56 UTC
Try with the lastest changes.
Either compile it yourself or install the latest version through flatpak

```
flatpak uninstall org.kde.haruna
flatpak install --user --or-update https://cdn.kde.org/flatpak/kde-runtime-nightly/org.kde.Platform.flatpakref
flatpak install --user --or-update https://cdn.kde.org/flatpak/haruna-nightly/org.kde.haruna.flatpakref
```
https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps
Comment 3 Morgân von Brylân 2024-12-18 12:10:17 UTC
(In reply to george fb from comment #2)
> Try with the lastest changes.
> Either compile it yourself or install the latest version through flatpak
> 
> ```
> flatpak uninstall org.kde.haruna
> flatpak install --user --or-update
> https://cdn.kde.org/flatpak/kde-runtime-nightly/org.kde.Platform.flatpakref
> flatpak install --user --or-update
> https://cdn.kde.org/flatpak/haruna-nightly/org.kde.haruna.flatpakref
> ```
> https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps

Could not test, sorry. The nightly flatpak ignores my system locale and only starts in English, and I did not manage to build the source code. It's complaining that it couldn't find ffmpeg even though it definitely is installed.
Comment 4 george fb 2024-12-18 16:56:32 UTC
Tested it myself and it works.
Comment 5 Morgân von Brylân 2024-12-19 20:58:01 UTC
I trust the dev. Thanks!