mate-desktop / mozo

Menu editor for MATE using the freedesktop.org menu specification
http://www.mate-desktop.org
GNU Lesser General Public License v2.1
28 stars 12 forks source link

mozo should not save entries in ~/.local/share/applications if no changes are made #17

Open monsta opened 9 years ago

monsta commented 9 years ago

Steps to reproduce:

  1. Launch mozo.
  2. Open the properties of any app, say, Atril.
  3. Don't change anything there, just close the properties window.
  4. See atril.desktop file appearing in ~/.local/share/applications. It's identical to the stock /usr/share/applications/atril.desktop file.

In my opinion, this is wrong. First, it clutters the directory. Second, you can't tell if the .desktop file has any changes compared to the stock .desktop file - unless you compare them.

Lantizia commented 4 years ago

Really nice to see someone else has spotted this.

It's particularly aggravating if at some point, you've popped into "Edit Menu" just to check the properties of a launcher (e.g. to see what it actually executes)... and then later down the line some software package updates resulting in either...

  1. the original launchers name / description / icon or even what it actually executes changes... but you can't see any difference due to the unnecessary duplicate that mozo once made in ~/.local that is now overriding it.

  2. the original launcher is removed and another is created (with a different launcher filename) and you end up with two launchers now showing in your menu.