I believe that it is impossible that this did not exist in 4.0.5.
It is a strange thing but it really is. I don’t have any reason to lie. Smack 4.2.3 has different behavior than 4.0.5.
The application that I develop is commercial. So I can’t provide you any recorded video.
I had to go through not easy process of migration from Smack 4.0.5 to 4.2.3 to fall into these troubles.
Try a newer version if possibly or a different server.
Openfire version is 4.2.3.
It is impossibly to tell the exact cause without a detailed problem anlysis which would at least require an XMPP trace.
I see that a response on a presence stanza is received if user is offline before my app starts. And there is no response on that stanza from the server if it treats that an user is online when my app starts.
Do you really need XMPP log?