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

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 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
    • None
    • None
    • Confirmed
    • UI

    Description

      The Bug:

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

      Steps to Reproduce:

      • Use the tellraw command to print some hoverable text in chat.
      • /tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}}
      • Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
      • Look at the line spacing of the text within the hover tooltip.
      • 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.

      Attachments

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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Avoma Avoma
              Votes:
              8 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: