mojira.dev
MC-9473

Unnecessary delay of "Done" button in the resource pack selection menu

After doing nothing in the Resource Packs menu and then pressing "Done" to leave the menu, there's an absolutely unnecessary delay of up to several seconds. Pressing "Esc" allows you to leave the menu too without any delay.

Easy steps to reproduce:
1.) Open the Resource Packs menu
2.) Press "Done" to leave the menu.

The delay time seems to depend on the resolution of the selected Resource Pack(s), pressing "Done" after selecting a 256x256 pack freezes the game for about 20 seconds, after selecting a 16x16 pack it's only 1-2 seconds.

Linked issues

Comments 27

Woohoo, Dinnerbone fixed that old and annoying bug!
Thanks a lot 🙂

17 more comments

@Sterling Shores:
Please read the description of this ticket, especially the part with the Esc button ...
There's no need to load anything when you don't change any setting.

The delay is because you're using a huge resource pack and the game needs to re-stitch all textures and re-process all models when you load a resource pack. Bug is invalid.

Oh, and Zombie Hunter, you mean the part in the bug where he says that pressing Escape doesn't give any delay, specifically because it's NOT reloading anything? Sounds like you're the one who needs to re-read the bug.

@Mog:
"After doing nothing in the Resource Packs menu and then pressing "Done" to leave the menu, there's an absolutely unnecessary delay of up to several seconds. Pressing "Esc" allows you to leave the menu too without any delay."
I think that's a clear description of the problem, if you don't change any setting, why should the game load or re-load anything? If you just want to look up which Resource Packs are selected and then leave the menu, a delay of several seconds can be quite annoying ... and yes, I'm aware that re-stitching the textures causes the delay!

Oh, looks like Dinnerbone fixed it. Thx 🙂

It looks like Dinnerbone is using multi-threading to skip the long delay for next snapshot!

🙂

_zombiehunter

Nathan Adams

Confirmed

Minecraft 1.4.7, Snapshot 13w05b, Snapshot 13w06a, Snapshot 13w07a, Minecraft 13w36a, ..., Minecraft 14w25a, Minecraft 1.7.10-pre4, Minecraft 14w25b, Minecraft 14w27b, Minecraft 14w28a

Snapshot 13w09a, Minecraft 14w28b

Retrieved