Bug 472836 - Room list empty after switching between accounts when browsing rooms inside a space on the first account
Summary: Room list empty after switching between accounts when browsing rooms inside a...
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 11:32 UTC by bart
Modified: 2024-03-24 08:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of neochat showing an empty room list on the second account, while the last opened room is actually showing in the right pane. (126.53 KB, image/png)
2023-07-31 11:43 UTC, bart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bart 2023-07-31 11:32:58 UTC
STEPS TO REPRODUCE
Open a space on the first account (and open a room inside that space).  Then switch to another account that doesn't have any spaces (or probably simply doesn't have that same space as the first account).

OBSERVED RESULT
The room list for the second account appears to be empty: the placeholder message is showing.

EXPECTED RESULT
The full room list for that account should be displayed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: archlinuxarm
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
The full room list on the second account can be retrieved by switching back to the first account, then select "All Rooms" and then switch back to the second account.

This might point to the fact that he current space information is incorrectly shared between accounts (or at least not reset on switching between accounts): neochat is probably looking for rooms on the second account that belong to the space that was selected on the first account.
Comment 1 bart 2023-07-31 11:43:04 UTC
Created attachment 160649 [details]
Screenshot of neochat showing an empty room list on the second account, while the last opened room is actually showing in the right pane.

Here's a screenshot.

Forgot to mention that this was happening on a build from git master.
Comment 2 James Graham 2024-03-23 11:50:17 UTC
Does this still happen in 24.02 as it definitely doesn't seem to be an issue on master anymore due to other changes in how spaces are managed
Comment 3 bart 2024-03-24 08:18:06 UTC
(In reply to James Graham from comment #2)
> Does this still happen in 24.02 as it definitely doesn't seem to be an issue
> on master anymore due to other changes in how spaces are managed

Seems to be solved now.  For both 24.02 and master.
Thanks!