mojira.dev
MC-274623

Kick message is not wrapped correctly when the window's resolution is changed

If the player is kicked from the server with a long kick message and the window's resolution is changed, the kick message's wrapping remains the same, which can lead to the text extending off the screen.

How to reproduce:

  1. Connect to a multiplayer server.

  2. Execute the following command:

    /kick @s This is a very long sentence that will hopefully extend outside the screen as soon as I toggle off fullscreen.
  3. Without exiting the disconnection screen, make the game's window smaller.

Expected result:

The kick message would be wrapped correctly on the screen.

Observed result:

The kick message remains as it is, causing it to either extend outside the window or leave extra blank space.

Linked issues

Attachments

Comments 0

No comments.

[Mod] ManosSef

(Unassigned)

Confirmed

Platform

Low

UI

1.21, 1.21.3, 1.21.4

Retrieved