Inconsistences in the chat history
Please first check if another issue has been opened for your problem
Versions
- OS: Debian GNU/Linux 12
- Gajim version: 1.5.1+7af1dc66
- GTK version: 3.24.31
- Python-nbxmpp version: 3.2.2
Steps to reproduce the problem
- Send messages to a MUC until one of them is not displayed.
- Open the search box.
- Search for the text of the lost message.
- Click the message in the search results.
Expected behavior
The message is not lost in the first place.
Actual behavior
The message is displayed after searching for it, and every message in the surrounding chunk is shown duplicated.
Alternatively:
Steps to reproduce the problem
- Collect lots of local history for a MUC.
- Restart Gajim, scroll back, make sure that the history stops at some point and no earlier messages are displayed (first message here is message A).
- Search for some old message B.
- Click on the message B in the search results.
Expected behavior
All the locally saved history can be reliably viewed, like with the history window and the history manager in Gajim ≤1.3.
Actual behavior
A chunk of messages around the message B is loaded, but after this chunk the message B is displayed immediately with no gap, and there is no indication that some messages are also stored in this gap.