Rooms don't always appear in room list results in SSS
Steps to reproduce
- Open app
- Search for an obscure room
- Nothing shows up.
- Wait a few minutes
- Search again.
- Nothing shows up
- Wait a few more minutes
- Search again
- Nothing shows up.
Outcome
What did you expect?
- Room list search should work, other than perhaps on the very first bg-roomlist-sync after login. If nothing else, the roomlist cache should remember the existence of older rooms (or do we blow that cache away whenever we launch the app?)
- Even if the app is still backpaginating its room list, the user should be told that that is happening: https://github.com/element-hq/element-x-ios/issues/1203
What happened instead?
Rooms were missing from the roomlist and unsure why. This happened on Amandine's account in Berlin; we waited ~10 mins before giving up and switching to legacy to use the room. (I can't remember the room, irritatingly, and it could be that she was killing the app to try to make it sync, before it finished bg-syncing, which might explain why after 10m it still hadn't completed)
Alternatively, perhaps this was an instance of https://github.com/element-hq/synapse/issues/17781 or some other similar SSS bug.
I've tried to reproduce on latest app after a clean start, and it took about 5 minutes to bg-sync older rooms so they'd show up in my room list search results.
Your phone model
No response
Operating system version
No response
Application version
724
Homeserver
No response
Will you send logs?
Yes
This might also be related to https://github.com/matrix-org/matrix-rust-sdk/issues/4051
@ara4n Are you still seeing this?
I can see it a lot. I just attached a ragashake ^
This is all because of our room display name issues e.g. https://github.com/matrix-org/matrix-rust-sdk/issues/4051 ah, M already commented with this exact link above.
Interrestingly, I have the problem only for some rooms like my DM with Amsha. I cannot find this DM using the filter. The only way to fix the filter issue is to scroll in the room list with no filter until the room is displayed on the screen. But another problem appears: the avatar of the room is correct but not the displayed room name. The room list displays the room id as a display name. After few seconds, it is replaced by the expected room name, ie "Amsha". From then, the filtering on "Amsha" works.
Another interesting fact is that the issue comes back everytime I restart the app. The room list displays only the room id at first and cannot find the name I am looking for. The cache for other rooms names works fine.
I do not have the issue anymore with my DM with Amsha but @neilisfragile has the the problem with a DM with Tom
I still see this problem, I will send logs
Fwiw I am hitting this problem quite regularly, so if you need more examples to help triangulate let me know.
The conversation yesterday with @manuroe and the team concluded that the majority of people have this issue due to this bug. Thus, the action was to fix that bug first and see if it still comes up before we do anything else.
I'm seeing this problem pretty regularly, and not for obscure rooms. It seems to fix itself eventually. I'll be sure to rageshake next time. When I need to fix it urgently, for a DM, I've gone into a room where that person is, found them in the member list, clicked "chat" with them, and then it goes to the room but the room name is just the room id and the messages haven't loaded. Then these bits load in, the room works as normal, and can from then on be found in the room list results again.
With https://github.com/element-hq/element-x-ios/issues/3365 now closed, I just want to flag that I still have this problem regularly. Logs here
@Hywan can you chek @neilisfragile 's report, please?
I cannot spot the issue anymore in my case.
I see nothing in the log but I'm adding a new patch to log this particular case. I cannot reproduce the issue neither.