8000 fix(rdp): preserve the remote resolution when fitting the window by lizzzzz777 · Pull Request #1007 · t8y2/motty · GitHub
[go: up one dir, main page]

Skip to content

fix(rdp): preserve the remote resolution when fitting the window - #1007

Open
lizzzzz777 wants to merge 13 commits into
t8y2:mainfrom
lizzzzz777:codex/issue-999-rdp-desktop
Open

lizzzzz777 wants to merge 13 commits into
t8y2:mainfrom
lizzzzz777:codex/issue-999-rdp-desktop

Conversation

@lizzzzz777
@lizzzzz777 lizzzzz777 commented Nov 18, 2026 •
Copy link
Copy Markdown
Contributor

Summary

  • Fit the RDP picture locally by default. Resizing the local window and entering or leaving fullscreen no longer send remote display changes by default.
  • Keep pane-sized dynamic resolution as an opt-in RDP host setting. The fixed mode requests the existing 1600 × 900 fallback at initial connection.
  • Pin CI to the Viva revision that provides the UI APIs already used by Motty main.

Fixes #999 together with vivaui/viva#347. The Viva PR fixes the fullscreen error in the report by forwarding the request to the native window backend. Motty releases resolve Viva main at build time, so they pick up the native fix once that PR merges.

Verification

  • Workbench regression tests cover fixed-resolution fit, entering and exiting fullscreen, and opting into dynamic resolution.
  • go vet ./... and go vet -tags dev ./internal/workbench passed.
  • A native Windows window entered fullscreen and restored its original frame with the companion Viva change.

The Go tests run passed format, vet and non-workbench unit and integration tests. The SSH catalog comparison, host-menu backdrop, container retry and terminal input failures also reproduced on an unmodified Motty main checkout using the same Viva revision.

The latest commit f01d96e4 passed all 20 checks after integrating the upstream workbench changes, updating the Viva pin, and fixing the remaining persistence, overlay keyboard and snapshot regressions. Go tests

This branch has not been deployed

No deployments
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.

RDP远程桌面时,会打乱原有桌面布局,且无法全屏

1 participant

0