mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
184 stars 115 forks source link

Add a path argument to command field changes icon to flags of foreign countries #850

Open shmabler opened 6 years ago

shmabler commented 6 years ago

Expected behaviour

Edit command field and have no other effect.

Actual behaviour

The actual behavior is that adding a path to the command field or anything with forward slashes starts changing the icons to flags from foreign countries.

Steps to reproduce the behaviour

  1. Add an application launcher to panel.
  2. Right click on application icon and select properties 3.Enter a forward slash and any values into the "command" field.

MATE general version

1.20.3

Package version

1.20.0+5

Linux Distribution

Debian testing / buster

Link to downstream report of your Distribution

lukefromdc commented 6 years ago

I was able to confirm this but also found that upon completion of a path to a program with a valid icon from /usr/share/applications that program's icon would be returned. This means a custom launcher for a program without an icon for the main menu ends up by default with a national flag for the icon. Since flags change with the text, it appears that the panel is trying to find the closest match for the typed text from among the flags