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

Large item tooltips can get cut off at the edges of the screen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w42a
    • Minecraft 1.6.2, Minecraft 1.8.8, Minecraft 1.11.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 5, 1.14.4, 19w39a, 19w41a, 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w11a, 20w17a, 20w19a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w11a, 21w14a, 21w17a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w12a, 22w13a, 22w17a, 22w18a, 1.19, 1.19.1, 1.19.2
    • None
    • Confirmed
    • UI
    • Normal

      The Bug:

      Large item tooltips can get cut off at the edges of the screen.

      Steps to Reproduce:

      • Give yourself an item that has a large tooltip.
      • /give @s minecraft:dirt{display:{Lore:["{\"text\":\"MC-26757 MC-26757 MC-26757 MC-26757 MC-26757 MC-26757 MC-26757 MC-26757 MC-26757 MC-26757\"}"]}}
      • Hold your mouse cursor over the item in order for its tooltip to be displayed.
      • Take note as to whether or not large item tooltips can get cut off at the edges of the screen.

      Observed Behavior:

      Item tooltips can get cut off at the edges of the screen.

      Expected Behavior:

      Item tooltips would not get cut off at the edges of the screen.

      Code Analysis:

      Code analysis by isXander can be found in this comment.

        1. 2013-07-20_13.42.17.png
          2013-07-20_13.42.17.png
          205 kB
        2. 2015-08-29_16.10.20.png
          2015-08-29_16.10.20.png
          158 kB
        3. 2015-08-29_16.09.13.png
          2015-08-29_16.09.13.png
          159 kB
        4. 2017-01-15_10.38.33.png
          2017-01-15_10.38.33.png
          109 kB
        5. long tooltips in bedrock.jpg
          long tooltips in bedrock.jpg
          269 kB
        6. MC-26757.mp4
          3.75 MB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            29 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: