Bug 338118

Summary: Muon cannot be found using "software" or "installieren" in german K-Menu
Product: [Applications] Discover Reporter: carcinoma <carcinoma>
Component: discoverAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, lueck, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description carcinoma 2014-08-08 09:03:15 UTC
I wanted to insall some new software via the muon discover tool.
The expected work flow to start muon was:

1. click k-menu icon
2. start typing "software"
3. click "Muon-Discover" to start it

The problem here was in point 2. I was not able to find muon with this
search string nor with "installieren". Instead i have to search for "programm" in oder to find it. This could be a german specific issue.

So it would be nice if muon could be found via various search terms sucha as "software", "install", "packet" and "programm".

There was a bug like this wich has been fixed (https://bugs.kde.org/show_bug.cgi?id=288092) but it seems that it will not work anymory.
Comment 1 carcinoma 2014-08-09 20:54:46 UTC
I had found that the previously applied fix maybe has been done wrong or something has changed in the mean time.

The corresponding muon-discover.desktop file contains the "Keywords[de]=" line
but the keywords have been seperated by a ",". Other keyword enties have a ";"
seperator.

So i changed the ","'s to ";"'s for the de-entry and relogged in. Now i can find muon with searching for "software".

Maybe this is the fix.

While discovering this i had found that i had to search exactly for "software" to find it. Which is irritating casue while typing the word "software" i get some results which does not contain muon.
Comment 2 Aleix Pol 2014-10-08 09:52:06 UTC
Correct, some translations use coma (,) instead of semi-colon for some reason (;).
Comment 3 Burkhard Lück 2014-10-08 13:46:46 UTC
(In reply to Aleix Pol from comment #2)
> Correct, some translations use coma (,) instead of semi-colon for some
> reason (;).

Muons developers use comma as well ;-)
muon.desktop:
X-KDE-Keywords=program,software,repository,archive,package,install,remove,update,deb

And I never get a hit for "Muon-Discover", no matter if I have comma or semicolon as separator in Keywords[de] in muon-discover.desktop
Comment 4 Aleix Pol 2014-10-10 13:47:00 UTC
Git commit 4818a40e4b7ce1b435d5ca6e4a1544d61eef7e5b by Aleix Pol.
Committed on 10/10/2014 at 13:42.
Pushed by apol into branch 'master'.

Splitting keywords with coma is deprecated

More information here:
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

M  +1    -1    muon/muon.desktop

http://commits.kde.org/muon/4818a40e4b7ce1b435d5ca6e4a1544d61eef7e5b
Comment 5 Burkhard Lück 2014-10-10 15:26:45 UTC
(In reply to Aleix Pol from comment #4)
> Git commit 4818a40e4b7ce1b435d5ca6e4a1544d61eef7e5b by Aleix Pol.
> Committed on 10/10/2014 at 13:42.
> Pushed by apol into branch 'master'.
> 
> Splitting keywords with coma is deprecated
> 
As far as I read the specs using X-KDE-Keywords is deprecated as well, should be Keywords.
Comment 6 carcinoma 2014-10-11 16:59:14 UTC
Nice that this is going to be fixed.

Wouldn't it be wise to fix the other languages as well?

I also like to have a tip about the search behaviour with keyword-fractions. Is the search mechanism intended to find muon with parts of the keywords?
Comment 7 Aleix Pol 2016-03-22 13:27:14 UTC
discover/org.kde.discover.desktop:Keywords[de]=Programm;Software;Archiv;Repository;Paket;Installieren;Entfernen;Aktualisieren;Programme;Anwendungen;

Should work