Open anpilley opened 6 years ago
Makes sense.
Fixed in develop (AFAIK)
Yep, picked up the new build this morning, no more problems with explorer being unresponsive. Nice.
Glad to hear it. This was way worse with drag&drop of URLs from the browser :)
Does this also fix the issue with chrome?
I believe so. I tested it on Windows 7 and the problem was gone.
I can confirm fixed, I believe there may still be open issues related to this.
Note that Finder in macOS has the same freezing issue, but this change does not fix it.
@swoolcock are you sure you are using the develop builds when testing this?
Yes, using the latest develop build.
OK... needs further investigation.
Yep. Can confirm it’s fixed on windows but not on my MacBook.
System Information
MultiMC version: 0.6.2-develop-1221
Operating System: Win10 16299.371
Summary of the issue or suggestion:
MultiMC supports dragging and dropping zipped up modpacks into its window to start the Add Instance process. Doing this from an explorer window hangs the explorer window until the import is complete, at which point, the explorer window becomes responsive again.
What should happen:
Explorer should remain responsive to user input.
Steps to reproduce the issue (Add more if needed):
Download a larger modpack from curseforge.com (I was using Sevtech).
Locate the modpack zip file in explorer.
Drag the modpack into the MultiMC window.
Attempt to interact with the originating explorer window.
Suspected cause:
Likely, the code stemming from https://github.com/MultiMC/MultiMC5/blob/604295e6d504f6e41ec2f91500479edbf2838a2d/api/logic/minecraft/ModList.cpp#L128 needs to be modified to queue up an import action, and then return to the drag/drop caller as quickly as possible, to release the drag&drop operation on Explorer's side.
Logs/Screenshots:
Additional Info: