Comment 3 for bug 1370190

Revision history for this message
Neil McPhail (njmcphail) wrote :

This bug seems to be related to paths under ~/.local/share/applications which have hyphens in the directory path. This seems to cause corruption of the icon parsing or title which is displayed in the dash. As an example (on my 16.04 machine):

$ cat << EOF > test.desktop
[Desktop Entry]
Name=Hyphen test
Exec=/bin/true
Type=Application
Icon=/usr/share/icons/suru/apps/256/dash.png
EOF

$ chmod +x test.desktop
$ mkdir ~/.local/share/applications/hyphen-test
$ mv test.desktop ~/.local/share/applications/hyphen-test/

Now, open the dash and search for "hyphen". On my machine, I see the correct icon but no title is displayed underneath.

$ mv ~/.local/share/applications/hyphen-test ~/.local/share/applications/hyphen

Searching for "hyphen" in the dash now shows an entry with the correct icon and title (but also still shows the defunct previous entry without title).

The effect of the hyphenated path seems variable. Some apps show the wrong icon, some have a missing title, some have both errors.