Skip to content

Leaving a room while one of its widgets has set setAlwaysOnScreen(true) makes the widget linger invisibly #20901

@squahtx

Description

@squahtx

Steps to reproduce

Reproducible with the FOSDEM 2022 talk widgets.

  1. Join a FOSDEM 2022 talk room, eg. #talk-13559:fosdem.org
  2. Join the Jitsi call in the widget. This calls widgetApi.setAlwaysOnScreen(true).
  3. Switch to another room. The Jitsi widget now appears in a small picture-in-picture overlay.
  4. Leave the talk room. The picture-in-picture overlay disappears, but the Jitsi call in the widget is still running.
  5. Visiting the room under the Historical section shows the Jitsi widget still running.

Outcome

What did you expect?

Either the picture-in-picture overlay should remain after leaving the room, or the widget should be destroyed.

What happened instead?

The widget remained running in the background.

Operating system

Windows

Browser information

Chrome 98.0.4758.82

URL for webapp

develop.element.io

Application version

Element version: 64242a0-react-29cf22a5212c-js-b07457726bf5 Olm version: 3.2.8

Homeserver

N/A

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-JitsiA-Picture-in-PictureA-WidgetsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions