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

The line spacing of text within all hover tooltips is larger between the first and second lines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12, Minecraft 1.12.1, Minecraft 17w47b, Minecraft 18w01a, Minecraft 18w11a, Minecraft 1.13-pre1, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w03b, Minecraft 19w03c, Minecraft 1.14 Pre-Release 3, 1.14.4, 1.15 Pre-release 7, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16.1, 20w30a, 20w46a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w08b, 21w17a, 1.17.1, 21w44a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w03a, 22w05a, 22w06a, 22w07a, 1.18.2, 22w17a, 22w18a, 1.19, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 23w32a, 1.20.4, 23w51b, 1.20.6, 1.21
    • None
    • Confirmed
    • UI

      The Bug:

      The line spacing of text within all hover tooltips is larger between the first and second lines.

      Steps to Reproduce:

      1. Print some hoverable text in chat by using the command provided below.
        /tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}}
      2. Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
      3. Look at the line spacing of the text within the hover tooltip.
      4. Take note as to whether or not the line spacing of text within all hover tooltips is larger between the first and second lines.

      Observed Behavior:

      The line spacing of text within all hover tooltips is larger between the first and second lines.

      Expected Behavior:

      The line spacing of text within all hover tooltips would be equal across all lines.

      Code Analysis:

      Code analysis by bemoty can be found in this comment.

        1. MC-118654-1.png
          MC-118654-1.png
          97 kB
        2. MC-118654.png
          MC-118654.png
          939 kB
        3. MC-118654.mp4
          2.68 MB
        4. example.png
          example.png
          19 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            13 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: