mojira.dev
MC-187267

Title text renders in front of sidebar

The bug

Although /title text no longer renders in front of chat text in the latest snapshots, it still renders in front of the sidebar. This is not the case in previous versions.

How to reproduce

  1. Use the following commands to create a scoreboard objective and show it in the sidebar:

    /scoreboard objectives add title dummy "Here is a long display name to make the sidebar wider!"
    /scoreboard objectives setdisplay sidebar title
  2. Use another set of commands to set scores to at least eight fake players:

    /scoreboard players add $num1 title 0
    /scoreboard players add $num2 title 0
    /scoreboard players add $num3 title 0
    /scoreboard players add $num4 title 0
    /scoreboard players add $num5 title 0
    /scoreboard players add $num6 title 0
    /scoreboard players add $num7 title 0
    /scoreboard players add $num8 title 0
  3. Use two commands to create title text in the screen:

    /title @s title "Here is a long title!"
    /title @s subtitle "Here is a long subtitle that renders wrong!"

    → ❌ You will notice that the title text renders in front of the sidebar.

Linked issues

Attachments

Comments 2

I am able to reproduce this bug in 1.16 Pre-release 2

user-a4a49

gegy

Confirmed

Platform

Normal

Rendering, UI

/title, sidebar, title

1.15.2, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, ..., 21w39a, 21w41a, 21w42a, 1.18.1, 1.19.1

23w51a

Retrieved