Chat pop-ups being displayed when chat disappears
The bug
When using the new /tellraw command I kept clicking it and as the message rose above the visible messages in chat, when I hover over where the pop up would appear it appears and it is still click-able for 2 more times.
Also affects hoverEvents.
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Created Issue:
Chat pop-ups being displayed when chat disappears
When using the new /tellraw command i kept clicking it and as the message rose above the visible messages in chat, when i hover over where the pop up would appear it appears and it is still clickable for 2 more times.
Environment
Windows 7 Home Premium, Java JRE7.
When using the new /tellraw command i kept clicking it and as the message rose above the visible messages in chat, when i hover over where the pop up would appear it appears and it is still clickable for 2 more times.
Also affects hoverEvents.
When using the new /tellraw command i kept clicking it and as the message rose above the visible messages in chat, when i hover over where the pop up would appear it appears and it is still clickable for 2 more times.
Also affects hoverEvents.
Claimed fix in this comment.
Could you please include that?
When using the new /tellraw command i kept clicking it and as the message rose above the visible messages in chat, when i hover over where the pop up would appear it appears and it is still clickable for 2 more times.
Also affects hoverEvents.
Claimed fixinthis comment.When using the new /tellraw command i kept clicking it and as the message rose above the visible messages in chat, when i hover over where the pop up would appear it appears and it is still clickable for 2 more times.
Also affects hoverEvents.
Code analysis by Marcono1234 can be found in this comment.
is duplicated by
When using the new /tellraw command i kept clicking it and as the message rose above the visible messages in chat, when i hover over where the pop up would appear it appears and it is still clickable for 2 more times.
Also affects hoverEvents.
Code analysis by Marcono1234 can be found in this comment.
The bug
When using the new /tellraw command I kept clicking it and as the message rose above the visible messages in chat, when I hover over where the pop up would appear it appears and it is still click-able for 2 more times.
Also affects hoverEvents.Code analysis
Code analysis by Marcono1234 can be found in this comment.
Windows 7 Home Premium, Java JRE7.
is duplicated by
That sounds like MC-30954
Thank you for your report!
We're tracking this issue in MC-30954, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Confirmed. Use this command for testing:
/tellraw @p {"text":"test","color":"blue","clickEvent":{"action":"run_command","value":"/give @p minecraft:tnt"}}This issue is still unresolved and i recorded a video showing the bug. I use the command /tellraw @p {"text":"test","color":"blue","clickEvent":{"action":"run_command","value":"/give @p minecraft:dirt"}} and click the test button as far as i can go. As you can see in the video it goes 3 over what it is meant to.
https://www.youtube.com/watch?v=3JxwBrr44TA&feature=youtu.be
Reopened, thanks.
Confirmed for
Confirmed for
The reason for that is that in the getChatComponent(int p_146236_1_, int p_146236_2_) method of the /Client/src/net/minecraft/client/gui/GuiNewChat.java class (MCP 1.8 names) the number of visible lines was added to the the calculated visible chat height. Removing this fixed the problem. However the fact that the methods calculateChatboxWidth(float p_146233_0_) and calculateChatboxHeight(float p_146243_0_) are partwise used is problematic as they do not consider the custom chat settings (for example Minecraft.getMinecraft().gameSettings.chatWidth).
Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.
Confirmed for 1.11.2 and snapshots.
Confirmed for 1.13.1.
Confirmed for 1.15 pre-6
Confirmed in 1.16.1.
Confirmed in 1.18.2
This has been fixed in 22w45a. I attached two videos: one demonstrating a fixed version, the other demonstrating a bugged version.