Mojira Archive
MC-51859

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

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.

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 [Mod] bemoty can be found in this comment.