ChatPatches icon indicating copy to clipboard operation
ChatPatches copied to clipboard

New (duplicate) messages appear earlier than restored ones

Open LWJENNI opened this issue 5 months ago • 7 comments

Description

If you send a message in the enabled mode (Duplicate) the message seems to disappear, but if you scroll the chat up a little it starts spinning I want new messages but they don't appear https://youtu.be/j8DRiAmO7OM

How to reproduce

Send a message to the player test but before that create a chat history and send any message and scroll the chat up

Expected result

The chat will be on site

Log file link

there are basically no errors

Specs and Details

Required information:

  • Computer OS - Windows 11
  • Mod version - 211.6.9-secure
  • Fabric - 0.16.14
  • Fabric API - 0.116.1+1.21.1
  • YetAnotherConfigLib - 3.6.6+1.21.1-fabirc
  • Mod Menu - 11.0.3

Additional context

i love chatpatches

LWJENNI avatar Sep 16 '25 11:09 LWJENNI

that's really odd, off the top of my head i can't think of any reason why the messages would be added not to the end... maybe the timestamp is bugged?

please send a log of this happening! thx

mrbuilder1961 avatar Sep 17 '25 01:09 mrbuilder1961

There's nothing there except messages.

LWJENNI avatar Sep 21 '25 18:09 LWJENNI

It's just the chat scrolling up and no new messages actually appearing.

LWJENNI avatar Sep 21 '25 18:09 LWJENNI

so does it ever stop doing this? or is it only when you spam messages? only right when you load in?

mrbuilder1961 avatar Sep 23 '25 16:09 mrbuilder1961

As long as new messages appear, the chat scrolls up. If there are no new messages, it doesn’t scroll. maybe it default Minecraft method.

LWJENNI avatar Sep 24 '25 08:09 LWJENNI

They don’t appear one by one at first — instead, they’re kind of stored in a single message with a counter. And when you scroll up, it actually scrolls through them. If you want, I can go on Discord and show it on screen share.

LWJENNI avatar Sep 24 '25 08:09 LWJENNI

can you still reproduce this in the latest alpha?

mrbuilder1961 avatar Nov 10 '25 14:11 mrbuilder1961

okay i was able to reproduce this in the current version. i think what's happening is the game knows new messages are being added so when enough messages are present it will scroll, but the player doesnt normally see it bc the rendered message(s) are removed right away - but the chat hud doesn't know about that. sorry for the long wait but i'll see what i can do now that i know what's going on

mrbuilder1961 avatar Nov 23 '25 08:11 mrbuilder1961