mojira.dev
MC-306327

Chat Restriction Warning Ignores Chat Width Settings

The red "Chat is restricted" notification bar does not dynamically scale or wrap when the Chat Width setting is decreased. This causes the notification to exceed the visual borders of the chat window, leading to UI overlap and clipping.


  • Reproduction Steps

  1. Launch Minecraft and enter any world or server.

  2. Navigate to Options then Chat Settings.

  3. Set Chat to either "Commands Only" or "Hidden" (this triggers the red "Chat is restricted" bar).

  4. Locate the Width slider and decrease it to its minimum value (150px).

  5. Open the chat interface (press 'T' or '/') and observe the red notification bar at the top.


Observed Behavior: While the standard chat logs (messages or commands) correctly wrap and fit within the new 150px boundary, the red "Chat is restricted" notification maintains its original width. It extends far beyond the left and right edges of the chat box, clipping into the game environment and ignoring the user's UI preferences.

Expected Behavior The notification bar should be "parented" to the chat container. If the width is reduced, the red bar and its text should shrink or wrap to stay within the established chat borders, maintaining a clean and consistent UI.

Note:

Relates to MC-306319

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

BugTracker

(Unassigned)

Confirmed

(Unassigned)

26.1 Snapshot 7

Retrieved