I chat with the user and send him 1,2,3 (while he is online), then I turn off the Internet for the user and send him 4,5,6, then I wait for the xmpp server to kick him (xmpp.client.idle 60 seconds ) and send 7,8,9, then I wait for Spark to notice and start reconnecting and send 10,11,12 and turn on the Internet for the user. And after that I have a second tab with the same person and and received messages appear with the mark (Offline), although Ilya was online all this time.
And also you can see that messages 7,8,9,10,12 were duplicated on the second tab.
The user Petrakova locked the computer, after a while I turned off the Internet for her and she went offline, I sent her messages. After that, I turned on the Internet for her and after 1 hour she unlocked the computer. She received my messages, but instead of my âHlevnoy ilyaâ it was âi.hlevnoyâ and only one message contained my correct name.
In the 1 case it shows (offline) because these messages were received while user was offline. After you close and reopen chat window, (offline) prefix is dropped. The main problem here is that after a reconnect it opens a new tab for offline messages received during reconnection instead of showing them only in the already opened tab. This is a separate issue. https://issues.igniterealtime.org/browse/SPARK-2175
2 case looks somewhat related to https://issues.igniterealtime.org/browse/SPARK-2148 but it is hard to reproduce. I have tried to do this in my test VM and all messages were received with full name, not with username.
The issue with your own presence icon in the roster window getting stuck is so unclear. Every time i test i get more different results. So it is hard to describe them. It could be, that this is because iâm testing in a VM. I donât have other means to test it. I will try to describe it. https://issues.igniterealtime.org/browse/SPARK-2177
The issue with a presence icon in the chat window. It only happens if chat window is visible, but in the background (under roster) windows and you donât receive offline messages after a reconnection. In that case icon stays gray until you click on chat window. I have added a screenshot to https://issues.igniterealtime.org/browse/SPARK-2174
Yes, there is a bug. It appears if the chat window was not open at the time of reconnection.
I usually work on Spark late at night, and I donât have enough time and energy to test it properly.
Bug fix streak is going on! Thanks a lot for your understanding guys!
Not a problem at all. Itâs a pity every time when i have to report that iâm still finding some issue Donât forget to get some sleep! We can release 2.9.3 later. After waiting 3 years for 2.9.0 this is a minor delay
I tested the latest build.
My first message also appeared at the top of the dialog, once. But no matter how hard I tried to cause an error again, I could not âŠ
log from spark:
ĐŸĐșŃ 12, 2020 10:23:50 AM org.jivesoftware.spark.util.log.Log warning
WARNING: A chat entry appears to have been delivered out of order. The transcript window must be reordered!
Statuses refreshed, offline messages came, nice!
I noticed that when the connection is lost, the dialogs are blocked and I canât write, thatâs great! But if I start another dialogue with the user, then I can write to him.
Well, if you reopen a window seeing that contact is offline and still try to type and send something, i guess this is on user then I didnât even notice that input area is inactive during a reconnect. So, this is a bonus.
So, aside of a few minor or hard to reproduce issues it seems that this one is fixed finally (the original report about red contacts and duplication).
Although I found one problem, my users are automatically connected to the list.
And I connected the testuser user through the search, and therefore he is in the âFriendsâ group, and his status is not updated.
I tested with different users and only with testuser and dostoevsky I have a status issue.
upd:
If I connect and testuser/dostoevsky is online, he will always be online!
If I connect and testuser/dostoevsky is offline (as in the screenshot), then he will always be offline.
This issue appears when the total number of messages in the history is less than 20 (the number of history messages displayed when opening a dialog).
So itâs not rare. It should be considered major.
And yes, the discussion is getting off topic. I think it is worth creating a new one to discuss problems not associated with red and duplicate contacts.
Yeah. Watch https://issues.igniterealtime.org/browse/SPARK-2176 for updates on that last issue. I have marked it Major again. Ilya, feel free to mark one of the last replies as Solution and we can move on from this super long thread