Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-187267

Title text renders in front of sidebar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w51a
    • 1.15.2, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w39a, 21w41a, 21w42a, 1.18.1, 1.19.1
    • Confirmed
    • Rendering, UI
    • Normal
    • Platform

      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.

            gegy1000 [Mojang] Gegy
            jirauser283547 user-a4a49 (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: