Skip to content

fix(gui): start on the screen the SSH / Remote Desktop switch shows - #11

Merged
Sniphs98 merged 3 commits into
mainfrom
feat/rdp-file-transfer
Sep 26, 2026
Merged

Sniphs98 merged 3 commits into
mainfrom
feat/rdp-file-transfer

Conversation

@Sniphs98

Copy link
Copy Markdown
Owner

The switch is remembered across runs, but the content always started on
the Dashboard: closing the app in Remote Desktop mode brought it back with
the SSH dashboard under a switch saying Remote Desktop, until you toggled it
twice. A selector screen that doesn't belong to the current mode now goes to
that mode's own — at startup and when the saved mode is read back just
after. Settings and open sessions are left alone.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

What and why

How it was tested

Checklist

  • PR title is a Conventional Commit (it decides the release)
  • npm run check and npm test pass
  • Tests added or updated for the change
  • README updated if the change is user-visible

Sniphs98 and others added 3 commits September 25, 2026 23:57
The switch is remembered across runs, but the content always started on
the Dashboard: closing the app in Remote Desktop mode brought it back with
the SSH dashboard under a switch saying Remote Desktop, until you toggled it
twice. A selector screen that doesn't belong to the current mode now goes to
that mode's own — at startup and when the saved mode is read back just
after. Settings and open sessions are left alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files travel over RDP's clipboard channel, the way mstsc does it
(IronRDP's RdpFileTransferProvider):

- Into the session: drop files or folders on the tab (or "Send files"), then
  paste them into a folder there with Ctrl+V. A panel follows the copy: ready,
  bytes copied, done.
- Out of it: copying files on the remote desktop offers them in the tab;
  "Save…" asks for a folder here (Downloads by default) and keeps the
  folder structure. Names and paths from the remote side are untrusted: no
  "..", no absolute paths, no device names, nothing overwritten, and only
  into a folder the user picked in that dialog.
- The web client's own clipboard sync is paused while files are fetched —
  it would otherwise replace the remote file list mid-download (found
  against a real Windows); a download that stops moving fails after 30 s
  with a hint instead of hanging.
- Goes with the profile's clipboard setting.

Tested against the Windows target: 2 files (20 MB) sent and pasted in about
2 s, copied back and saved byte-identical; a dropped file lands after
Ctrl+V. The UI unit tests now compile .svelte.ts modules (Svelte plugin).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Sniphs98
Sniphs98 merged commit cc10d5d into main Sep 26, 2026
9 checks passed
@Sniphs98
Sniphs98 deleted the feat/rdp-file-transfer branch September 26, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant