Skip to content

Thread list is sometimes stuck in the empty state #21737

@janogarcia

Description

@janogarcia

Steps to reproduce

  1. Reload the browser tab when viewing a room with threads. Other than user initiated, reloads can also happen when updating the client to a new version.
  2. Without scrolling the main timeline, open the thread panel.

Outcome

What did you expect?

The thread list to be populated with the room's threads.

What happened instead?

  • The thread list is showing the empty state, as if there were no threads in the room. The empty state only gets cleared if scrolling up the main timeline or closing and opening back the threads panel (there are probably other ways to force refreshing/rerendering it).
  • The empty state will also be shown when switching to a different room, if the thread panel hadn't been open for that room before reloading the browser tab.
  • Also related, there's a glitch in the empty state shown. It first flash the default empty state version (no threads in room) for a fraction of a second or a few seconds, and then it switches to a broken state of the secondary empty state (no threads when "My threads" filter is enabled) which is missing the "Show all threads" button (as it no longer matches the filter condition).

Operating system

No response

Browser information

Chrome 100

URL for webapp

develop.element.io

Application version

Element version: cec31d0-react-f648140d0c72-js-286500e335e4 Olm version: 3.2.8

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-ThreadsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-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