mojira.dev
MC-259831

UI Buttons break certain resource packs as of 23w06a

In 23w06a, Mojang fixed some bugs related to text clipping thru the buttons and since my resource pack makes the buttons rounded, it looks weird.

Down below there's an image of the game menu using my resource pack, and this issue could affect other resource packs that change the shape of the buttons.
To prove my resource pack isn't the problem, I also put the widgets.png file

Attachments

Comments 12

Please provide your resource pack

Seconding this for my pack. Working through snapshot-by-snapshot, this appears to have begun in 23w05a, and has continued into 23w06a and 23w07a. As best I can tell it only affects buttons using the widgets.png file. If necessary, I can also provide a resource pack example to demonstrate. The same pack worked fine in prior snapshots and releases (tested from 1.19.2 all the way through 23w07a, with only 05a, 06a, and 07a presenting any issues).

I would provide my resource pack, however it's size is 3x bigger than the limit (30 MB)

I would imagine they don't need it to include non-UI elements. If you pare it down to just the main folder structure and the contents of the GUI folder, that would probably be enough. Would also highly recommend putting it in a zip file rather than uploading the folder itself, as it's very hard to parse what's what out of a jumbled list of every file in the pack.

EyeBlox please do not upload every file in your pack!

2 more comments

at this point, adding the widgets.png file to a resource pack template would be easier than providing my resource pack which is 30 MB in size...

I thought I would add my screenshots to show how different the UVs used by the buttons are the new snapshots. As they show, it is no longer safe to use more than 4 pixels on the right side of the button wdigets textures, which will break several resource packs that use more than 4 pixels to create a custom edge shape for their buttons.

Confirmed to affect 1.19.4 Pre-release 1 (as of 02/22/23)

The fix looks really inelegant compared to how it was in previous versions (compare "test 3rd pre-release.png" and "test 1.19.3 game menu.png" that I attached to the issue). However, it does fix the issue, and I can't think of any actual resource packs off the top of my head that this would cause noticeable issues for, so I guess I can't really complain

If the current behaviour in 1.19.4-pre3 is not the same as in 1.19.3, please file a new bug report for that.

EyeBlox

gegy

Community Consensus

Platform

Important

Resource Packs, UI

23w06a, 23w07a, 1.19.4 Pre-release 1

1.19.4 Pre-release 2

Retrieved