bluesabre / menulibre

MenuLibre is an advanced menu editor that provides modern features in a clean, easy-to-use interface.
https://bluesabre.org/menulibre
GNU General Public License v3.0
214 stars 17 forks source link

LP#1847728 "Removing created items not possible ("delete" button inactive)" #45

Open bluesabre opened 4 years ago

bluesabre commented 4 years ago

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1847728

LP#0: DarkTrick (darktrick1337) wrote on 2019-10-11:

System: XUbuntu 19.04 package in question: menulibre Version of package in question: 2.2.0-2

Problem 1: Some items are not removable with menulibre. I can reconfigure (e.g. rename) them, but removing is not possible. I cannot specify the circumstances precisely. I can say, that even items I created myself are sometimes not removable.

Problem 2: It is not possible to start menulibre as root (via sudo). If "Problem 1" is a priviledge problem, it cannot be solved using sudo.

Some apps I CANNOT remove "run program..." (app finder) "About Xfce" "Python" "Visual Studio Code" "Bless Hex Editor" "Fritzing" "Libre Office" GIMP "nomacs"

Some apps I CAN remove: "Giggle" "Arduino" "Anki"

bluesabre commented 4 years ago

LP#1: DarkTrick (darktrick1337) wrote on 2019-10-11:

Additional information: The "delete" button is inactive / greyed out.

slrslr commented 2 years ago

1+ year later, yes, same issue there i guess: XFCE, Python 3.10.1 menulibre-delete-fail

workaround: locate .desktop|grep -i loss # loss is part of the name of the menu entry/app name

in my case i have deleted these:

rm -f /home/me/.local/share/applications/appimagekit_1fb47f3db620c938fd75a7a08625ae10-LosslessCut.desktop
rm -f /home/me/.local/share/applications/appimagekit_ecc0724ef621f76a50133e53ad7dff13-LosslessCut.desktop
Saroumane commented 1 year ago

I reproduce the problem with Ubuntu 22.10 and Menulibre 2.2.2

I can't remove entries created by root, but that is expected. (Ideally we could use a privilege elevation prompt to do that) But if I use Menulibre builtin search, I cannot delete any of the entries from the search results. (not even those I created in my $HOME folder.)

Workaround : do not use "search" in Menulibre if you want to remove entries.

BentHaase commented 1 year ago

One of these issues happens when you search for a launcher:

Testcase 1, directly selecting the (self created) launcher you want to delete, works :heavy_check_mark:

image

Testcase 2, search for the (same) (self created) launcher you want to delete, Delete is greyed out :warning:

image

AriMcBrown commented 1 year ago

One of these issues happens when you search for a launcher:

Testcase 1, directly selecting the (self created) launcher you want to delete, works ✔️

image

Testcase 2, search for the (same) (self created) launcher you want to delete, Delete is greyed out ⚠️

image

Can confirm, I have this exact problem as well in Fedora 39.