Skip to content

New room list rendering slow and late #30860

@vranki

Description

@vranki

Steps to reproduce

  1. Have lot of rooms (few hundred in this case)
  2. Scroll the new room list with mouse wheel up & down

Outcome

What did you expect?

Smooth viewing of completely rendered list

What happened instead?

When scrolled, the room list reveals blank space first. It is then populated with room names. After that room icons are displayed. Happens when rendering both up & down, Element has the data but it's rendered too late. The delays are clearly visible, so they are in tens or hundreds of milliseconds. On a modern computer.

Room list should be pre-rendered fully or at least so that user should never see it being rendered.

Operating system

No response

Browser information

No response

URL for webapp

https://chat.hacklab.fi/

Application version

Hacklab.fi Element version: 1.12.0 Crypto version: Rust SDK 0.14.0 (c3b7918), Vodozemac 0.9.0

Homeserver

Synapse

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PerformanceA-Room-ListO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions