• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-2070
Back
1

System/server chat messages containing line breaks are clipped vertically

UI / UX
1

State

Assigned
Issue key
DZG-2070
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
medoedovich
Created
Oct 26, 2026
Views
6
Platform
PC Steam
What happened?

A short system/server chat message containing two newline characters does not display as three readable lines. Only the first line is fully visible. Thin fragments of text are visible immediately below it, consistent with subsequent lines being vertically clipped.

The message is sent in one call to PlayerBase.MessageImportant(). The test payload is only 115 ASCII characters, including the two line breaks, so it is below the logged ChatMaxSystemLength value of 1000. No space padding is used in this test.



The screenshot is consistent with vertical clipping. It does not by itself prove whether the complete payload reaches the text widget unchanged.

The public ChatLine implementation passes the message text to TextWidget.SetText(). The extracted gui/layouts/day_z_chat_item.layout used during this investigation has a 25-unit root height and "size to text v" 0 on the text widget. These are possible implementation leads, not a confirmed root cause.

Reproduction steps

1. Start a local server and connect a player with Game Messages enabled.

2. After the client has loaded, send the following string to that player:

player.MessageImportant("[SERVER RESTART] 1 minute remaining.\nPark safely and finish your current action.\nPlease log out before the restart.");

3. Observe the message in the bottom-left chat area.

For the same local test mission, the attached init.c sends this payload once, five seconds after connection.


Only [SERVER RESTART] 1 minute remaining. is fully readable. The second and third lines are not displayed as complete readable lines; a thin red fragment is visible below the first line.

Exact build version (optional)
1.30.164200.56
Where did it happen?
Unknown
Is it modded?
No
Expected result

All three lines should be readable, with enough vertical space allocated for the complete message. Any subsequent chat rows should be positioned so that they do not overlap the multiline text.

Public attachments2 files · visible to everyone

init.c

1.3 KB

01_newline_clipped.webp

10 KB

Reactions

Activity

    about 2 hours ago
  • medoedovich
    created issueabout 2 hours ago
  • l909
    changed state to
    ASSIGNED
    about 1 hour ago

You are not signed in. Please sign in to see more details and to reply.

State

Assigned
Issue key
DZG-2070
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
medoedovich
Created
Oct 26, 2026
Views
6