mojira.dev
MCPE-130799

Position of score values on the sidebar is not consistent

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.

[media]

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.

[media]

Attachments

Comments 4

I attached some images for those who wish to see the bug at a glance, rather than loading up a video.

Is this fixed in the new beta 1.17.40 or whatever it's called?

Resolving temporarily as Awaiting Response. Is this still an issue in the latest beta (1.17.40.21)?

Nope, it is not, seems to be fixed. Thank you!

Sprunkles

(Unassigned)

Confirmed

Windows

1.17.20.23 Beta, 1.17.10.22 Beta

Retrieved