mojira.dev
MC-29371

Several buttons and icons use the old tooltip design upon being hovered over

The Bug:

Several buttons and icons use the old tooltip design upon being hovered over.

Affected Buttons/Icons:

Here is a table of all of the affected buttons and icons that use the old tooltip design upon being hovered over. Please note that there could be more examples of this that aren't listed below.

Affected Buttons/Icons

Location (GUI)

Attachment

Statistics Sorting Buttons

Statistics Menu

[media]

Statistics Item Icons

Statistics Menu

[media]

Realms Invitation Button

Realms Menu

[media]

Realms Leave/Configure Realm Buttons

Realms Menu

[media]

Realms Traffic Icon

Realms Menu

[media]

Realms News/What is Realms? Buttons

Realms Menu

[media]

Realms World Backups "+" Changes Icon

Realms Menu

[media]

Realms World Icons

Realms Menu

[media]

h3. Steps to Reproduce:

  1. Locate any of the buttons or icons listed above and hover over them.

  2. Take note as to whether or not several buttons and icons use the old tooltip design upon being hovered over.

Observed Behavior:

Several buttons and icons use the old tooltip design upon being hovered over.

Expected Behavior:

Several buttons and icons would use the new tooltip design upon being hovered over.

Linked issues

Attachments

Comments 10

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 21w07a.

Can confirm in 21w11a.

Can confirm in 21w17a.

Can confirm in 1.17.

Can confirm in 1.17.1. I'd like to request ownership of this ticket since the current reporter has been inactive since February 2014. I'm willing to provide all of the necessary information and will keep this report updated.

Some helpful info about this bug for the Statistics tooltips:

This is caused because the statistics screen uses it's own method (see: StatsScreen.ItemStatisticsList, method renderMousehoverTooltip) for rendering tooltips. This method hasn't been updated, even tough it uses the same paramethers as Screen's renderTooltip (the one with the current design). This can be resolved by removing the old method and using the new one instead.

Separately, this bug also causes items at the statistics screens to not have the colored font used for Rarity. This needs to be fixed using a different way, such as converting the Item instance into an ItemStack instance and using the renderTooltip method for ItemStacks (not Component)

Can confirm in 1.19.3.

Kajanor

Avoma

gegy

Confirmed

Low

UI

Minecraft 1.6.2, 21w03a, 1.16.5, 21w05b, 21w06a, ..., 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1

23w31a

Retrieved