All posts

CortenDesk 1.0.2 fixes web client display switching

This release fixes multi-monitor switching, cursor caching, spaced device IDs, and orphaned address books.

Illustration of a multi-monitor control desk with input moving to the selected display and address cards being cleaned up.
Display switching fixed1.0.2

CortenDesk 1.0.2 fixes several web client bugs, led by multi-monitor switching.

Multi-monitor in the web client

Switching displays now works in the web client. The fix covers three separate problems that could make a switch look like nothing happened.

The picture no longer freezes after a display switch. A switch restarts the host capture pipeline, and the client now recovers from the ended stream instead of waiting on it.

Input now follows the selected monitor. The client sends the needed CaptureDisplays message, so the old display is dropped and clicks do not keep going to the monitor you just left.

The client also uses the host confirmation instead of discarding it. That gives the client the selected display position in the virtual desktop, which is needed for correct input coordinates.

Cursor and device ID fixes

The mouse cursor no longer gets stuck after switching displays. The web client now caches cursor bitmaps by ID, matching how the host sends cursor updates after the first full bitmap.

Device IDs can now be pasted in the same grouped form that CortenDesk displays, such as 123 456 789. Spaces are stripped from the connect field, the ?id= parameter, and device links.

Address book cleanup

Deleting a user now deletes that user's personal address book. If an existing install already has an orphaned personal book listed as "unknown", an administrator can delete it.

Shared books are not changed. They keep working through sharing rules. A live user's personal address book remains private from administrators.

Reported by @dragonidium11 (#14).

Diagnostics

The web client can now write input mapping and display switching logs to the browser console. Add ?debug=1 to the URL, or set window.__rdDebug = true during a session.

Debug logging is off by default.

Updating

There are no migrations. Upgrade by changing the tag and restarting.

docker pull marcpope/cortendesk:1.0.2
docker pull ghcr.io/marcpope/cortendesk:1.0.2

This version requires a running open-source RustDesk server (hbbs/hbbr). No RustDesk license of any kind is needed.

Full details are in the CortenDesk 1.0.2 release notes.