element-hq / element-hq/element-web

Impossible to close video room PIP widget in a special case

Open
#31,584 1 comment 0 reactions 0 assignees View on GitHub
A-Element-Call A-Picture-in-Picture A-Video-Rooms O-Uncommon S-Major T-Defect Team: VoIP
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Where are you starting? What can you see?

Element Call is in PIP view. clicking on the end call button is not working.

2. What do you click?

Image

**This requires to have the lab video room feature**

1. Select a video room. You should see the lobby view in the main pannel
2. REFRESH the tab
3. EW reloads in the same room, now join the call from the lobby
4. Switch to another room to make the call in PIP view

Try to leave the call from the tile => nothing happen

### Outcome

#### What did you expect?

To leave the call

#### What happened instead?

Nothing

```
installHook.js:1 Failed to leave call Error: Not connected
at ElementCall.disconnect (Call.ts:301:19)
at WidgetPip.tsx:87:22
at floating-ui.react.mjs:3166:1
at Array.map ()
at acc. (floating-ui.react.mjs:3166:1)
at executeDispatch (react-dom-client.development.js:19116:1)
at runWithFiberInDEV (react-dom-client.development.js:871:1)

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

_No response_

### Application version

1.12.7 and 1.12.6

### Homeserver

_No response_

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.