Not a bamf issue: the problem is in the distro script that generates the file /usr/share/applications/bamf.index, when building it it does not take care of the .desktop file sections, so the empathy.desktop file that contains:
…
Exec=empathy
…
[Desktop Action Hidden]
Name=Open Hidden in Background
Exec=empathy -h
NotShowIn=Messaging Menu
[Desktop Action Prefs]
Name=Open Preferences
Exec=empathy -p
NotShowIn=Messaging Menu
[Desktop Action Accounts]
Name=Open Accounts
Exec=gnome-control-center credentials
NotShowIn=Messaging Menu
Would cause the script to generate a bamf.index like:
And this last line confuses the bamf matching. So, to fix this the bamf.index generator script should avoid the exec strings defined into .desktop sections.
Not a bamf issue: the problem is in the distro script that generates the file /usr/share/ applications/ bamf.index, when building it it does not take care of the .desktop file sections, so the empathy.desktop file that contains:
…
Exec=empathy
…
[Desktop Action Hidden]
Name=Open Hidden in Background
Exec=empathy -h
NotShowIn=Messaging Menu
[Desktop Action Prefs]
Name=Open Preferences
Exec=empathy -p
NotShowIn=Messaging Menu
[Desktop Action Accounts] control- center credentials
Name=Open Accounts
Exec=gnome-
NotShowIn=Messaging Menu
Would cause the script to generate a bamf.index like:
empathy.desktop empathy center credentials
empathy.desktop empathy -h
empathy.desktop empathy -p
empathy.desktop gnome-control-
And this last line confuses the bamf matching. So, to fix this the bamf.index generator script should avoid the exec strings defined into .desktop sections.