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

Clicking the install button for additional content multiple times installs the content multiple times #11799

Closed
erlehmann opened this issue Nov 30, 2021 · 0 comments · Fixed by #13807
Labels
Bug Issues that were confirmed to be a bug @ Content / PkgMgr Formspec good first issue

Comments

@erlehmann
Copy link
Contributor

Minetest version

commit 413be76

Summary

In the content browser, I probably accidentally double-clicked the install button for the mod tnt_revamped and got an error message:

2021-11-30 20:48:21: ACTION[Main]: Installed package to /tmp/minetest/mods/tnt_revamped
2021-11-30 20:48:23: ERROR[Main]: MoveDir: target "/tmp/minetest/mods/tnt_revamped" exists as file or non-empty folder

I then deliberately triple-clicked the install button for the mod schemedit and got a message that it got installed multiple times within about a second:

2021-11-30 20:51:13: ACTION[Main]: Installed package to /tmp/minetest/mods/schemedit
2021-11-30 20:51:13: ACTION[Main]: Installed package to /tmp/minetest/mods/schemedit
2021-11-30 20:51:14: ACTION[Main]: Installed package to /tmp/minetest/mods/schemedit
Steps to reproduce

In the content browser, click very fast on the install button (a button with green plus sign) of a mod you have not yet installed.

@erlehmann erlehmann added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label Nov 30, 2021
@rubenwardy rubenwardy added @ Content / PkgMgr Bug Issues that were confirmed to be a bug Formspec and removed Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible labels Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that were confirmed to be a bug @ Content / PkgMgr Formspec good first issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants