When you try to have Images collected from a webserver and you try get them loaded, they are loading for a very long time. Tabbing out and back into the game let those Images load instantly and without any problems.
Also a suggestion would be to let the ServerOwner choose via a packet field or a field in the FormIcons JSON whether this Image should be cached client-sided or not, beceause if you have f.e. banners of factions that can easily change from time to time, it is annoying if they won't update beceause they are being cached.
Regards,
TobiasDev
Comments 11
Yes, this is indeed still an issue, on most devices. Sending form images, you need to trigger a client-sided image re-render in order to make the images display (as long as they are not part of a resource pack). Servers use for example the UpdateAttributesPacket to trigger that rerender. Tho, images should be displayed and shown as soon as they have been polled from the target URL I think.
Regards,
TobiasDev
Steps to reproduce:
Setup a simple server, for example using PocketMine-MP, Cloudburst/Nukkit or any other server software.
Have a sample image somewhere on a webserver.
Send the player a MenuForm, setting the URL for a button to the link to that image.
Observed Results:
The image loading screen is just loading endlessly and then the image frame is disappearing.
Expected result:
the images should be displayed as soon as they are available from the webserver.
Hi
Does this issue still occur after updating to 1.18.2?
This ticket will automatically reopen when you reply.
Hi
Does this issue still occur after updating to 1.19.30?
This ticket will automatically reopen when you reply.
Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response
Is this still an issue in the latest version?
If it is, please be sure to include steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki