Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-130799

Position of score values on the sidebar is not consistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.17.20.23 Beta, 1.17.10.22 Beta
    • None
    • Confirmed
    • Windows

      The bug

      For a scoreboard objective displayed on the sidebar, the values of each score should be aligned to the ride side, but when a score with a greater order of magnitude is created then any scores of lesser magnitudes aren't displayed correctly. A score set afterward has the correct position. The issue is fixed upon reloading the world.

      Steps to reproduce

      • Create a new scoreboard objective, and display it on the sidebar:
        /scoreboard objectives add foo dummy
        /scoreboard objectives setdisplay sidebar foo
      • Set a new score to some value:
        /scoreboard players set name1 foo 2
      • Set another score to a greater value, such as 1000:
        /scoreboard players set name2 foo 1000
      • Finally, set a new score to a smaller value:
        /scoreboard players set name3 foo 1

      Resulting behavior

      Only the new scores have their position adjusted as expected, while any older scores of lesser magnitude retain their original position. Below is footage from Bedrock edition that displays the issue.
      video0-2021-06-10 02-59-51.mp4

      Expected behavior

      All scores' values should be aligned to the right, regardless of when the score was added. Below is footage from Java Edition that exhibits the expected behavior.
      video1-2021-06-10 03-09-29.mp4

        1. bedrock_behavior.png
          bedrock_behavior.png
          3 kB
        2. java_behavior.png
          java_behavior.png
          4 kB
        3. video0-2021-06-10 02-59-51.mp4
          7.13 MB
        4. video1-2021-06-10 03-09-29.mp4
          5.63 MB

            Sprunkles Sprunkles
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: