mojira.dev
MC-75721

Arrow buttons within the book GUI are rendered above tooltips

The Bug:

Arrow buttons within the book GUI are rendered above tooltips.

Steps to Reproduce:

  1. Place down a command block and input the following command into it.

    /give @p minecraft:written_book{pages:['[{"text":"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nMC-75721\\n","color":"red","hoverEvent":{"action":"show_text","value":"MC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721"}}]','[{"text":"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nMC-75721\\n","color":"red","hoverEvent":{"action":"show_text","value":"MC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721\\nMC-75721 MC-75721"}}]'],title:MC-75721,author:MC-75721}
  2. Activate the command block in order to receive a book.

  3. Open the book and hold your mouse cursor over the red text displayed within it.

  4. Take note as to whether or not arrow buttons within the book GUI are rendered above tooltips.

Observed Behavior:

Arrow buttons are rendered in front tooltips.

Expected Behavior:

Arrow buttons would be rendered behind tooltips.

Code Analysis:

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 32

Lucas Ignacio Morrison Osorio

Confirmed.

Lucas Ignacio Morrison Osorio

Well, your screenshots just confirmed it fast 🙂

Relates to MC-12503

Confirmed for 15w35e.

22 more comments

Can confirm in 1.19.3

 

@Tobias Elfein already solved it here in the comments...

 

[media]

Can`t confirm in 1.20 - Bug is fixed! 😉👌

I can confirm it as well: this bug is finally fixed in 1.20. Thank you...

[media]

Following the recent comments, this issue was present in 23w17a, but no longer occurs in versions above or equal to 23w18a. This issue was fixed in 23w18a.

[media][media]

Can confirm that it still works in 1.20.1 - Bug is fixed😉

João Mambelli

Avoma

(Unassigned)

Confirmed

Low

UI

writeable_book, written_book

Minecraft 1.8.2-pre1, Minecraft 1.8.8, Minecraft 15w35e, Minecraft 16w06a, Minecraft 1.10.2, ..., 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4

23w18a

Retrieved