Bug 505109

Summary: NeoChat displays incorrect space hierarchy after spaces moved from child to independent status
Product: [Applications] NeoChat Reporter: Ada <ada>
Component: GeneralAssignee: Tobias Fella <fella>
Status: CONFIRMED ---    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ada 2025-06-02 02:14:53 UTC
SUMMARY
NeoChat fails to display nested spaces correctly after they have been reorganized from child spaces to independent spaces. The spaces disappear after moving them out from the parent space, and the channels that previously belonged to the child spaces now show under the original parent space instead.

STEPS TO REPRODUCE
1) Have Matrix spaces that were previously child spaces of a parent space (in my case, the child space also had a child space. Both were moved to be independent spaces)
2) Move these spaces to become independent (not children of any parent)

OBSERVED RESULT
* Former child spaces do not appear, only the original parent space is visible
* Rooms still appear attached to the original parent space
* Space hierarchy differs from other Matrix clients

EXPECTED RESULT
* Independent spaces should appear as top-level spaces
* Rooms should appear under their correct current parent spaces

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.15.0-2-cachyos
KDE Plasma Version: KDE Plasma 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
* Issue persists across fresh NeoChat installations on different PCs
* Issue occurs on installations created both before and after the space reorganization
* Other Matrix clients (Element, etc.) display the correct space hierarchy