Bug: Device stuck waiting for source selection after reconnect
Author: alex-larkinCreated Mar 9, 2026Updated Mar 9, 2026
Labelsbug
Prerequisites
Note: Reporting against production release v3.2.6, not a dev build. Developer prerequisite items below are N/A.
- Using yarn
- Using an up-to-date
masterbranch - Using latest version of devtools.
- For issue in production release, add devtools output of
DEBUG_PROD=true yarn build && yarn start
Expected Behavior
After a device disconnects and the user reloads the page or clicks "Re-initiate Connection," the session should resume normally using the same source as before (or, if really necessary, host should be prompted to select what to share with device.)
Current Behavior
The device browser is permanently stuck displaying "Waiting for user to select source to share from screen sharing device…" and the host never prompts the user to select a source. The session does not recover.
Steps to Reproduce
- Successfully establish a screen sharing session between host and device.
- Close the browser tab on the device.
- Wait for the host to register the disconnection.
- On the device, navigate back to the Deskreen URL.
- Shared screen does not load, user not prompted to select what to share.
- Clicking "Re-initiate Connection" doesn't help either.
Possible Solution (Not obligatory)
Context
This makes reconnecting a device after any accidental tab close, brief disconnect, or new session broken.
Your Environment
- Node version : N/A (production release)
- Deskreen version or branch : 3.2.6
- Operating System and version : Windows 11 (latest), Chrome (145.0.7632.159) — both host and device
- Link to your project : N/A
Source: pavlobu/deskreen