Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libappimage 1.0.0 produces duplicate menu entries, doesn't clean up old ones #140

Open
TheAssassin opened this issue Aug 30, 2019 · 0 comments
Labels
wontfix This will not be worked on

Comments

@TheAssassin
Copy link
Member

libappimage 1.0.0 has changed the algorithm to determine the installed desktop file's path. Therefore, when using tools which use the old and new version in parallel (or after an upgrade), you get tons of duplicate entries. The old ones can't be auto-cleaned-up, since the files they point to still exist.

I don't know why this change was conducted, and I don't think we should invest too much time into reverting this, since there's no tools left really that use the old stuff. This issue is more of a note for people looking into the reasons why this happens.

Note for future: never ever change existing algorithms like this. If you have to, make sure you implement some code to avoid situations like the one I described above. This always leads to issues. For instance, I had to rm ~/.local/share/applications/appimagekit_*.desktop and then re-integrate all my AppImages. Really annoying.

@TheAssassin TheAssassin added the wontfix This will not be worked on label Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant