Skip to content

feat: allow disabling automatic RDP resizing - #36

Merged
LukeGus merged 2 commits into
Termix-SSH:dev-1.4.0from
ZacharyZcR:feat/disable-auto-resize-31
Nov 7, 2026
Merged

LukeGus merged 2 commits into
Termix-SSH:dev-1.4.0from
ZacharyZcR:feat/disable-auto-resize-31

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Resizing a Termix window currently changes the remote RDP desktop resolution, moving windows and icons even when the user only wants to resize the local view. Add an "Automatically resize RDP" switch under the host's Display settings, enabled by default.

With the switch off, Auto measures the viewport when connecting and keeps that remote resolution for the session. Reconnecting measures the current viewport again. Explicit resolutions, other protocols, and existing local fit/zoom behavior remain unchanged. The per-host setting persists and preserves false on import.

Closes #31.

Validation: 451 tests passed, 1 skipped. Actual display-component regressions inspect initial connection dimensions and sendSize calls, covering the opt-out, resize, reconnect, defaults, fixed dimensions and VNC. The opt-out regression fails against the original component. Host editor integration tests verify the real switch and persistence. Clean npm ci, typecheck, build, manifest validation, pack and formatting passed. Real Windows RDP server acceptance remains unverified.

@termix-triage-bot

Copy link
Copy Markdown

AI review | Looks safe to merge

Adds a host setting to disable automatic RDP resolution resizing, passing the flag through the frontend components and updating resize logic to respect it. The implementation is clean, well-tested, and follows plugin conventions with no security or stability risks.

Reviewed c6c8fdc. AI can be wrong, a maintainer still decides. Comment /termix review to run it again.

# Conflicts:
#	locales/en.json
#	locales/translated/zh_CN.json
#	locales/translated/zh_TW.json
#	manifest.json
#	src/backend/host-settings.ts
#	src/frontend/GuacamoleApp.tsx
#	src/frontend/host-remote.ts
#	src/frontend/remote-form.ts
#	tests/frontend/GuacamoleDisplay-resize.test.tsx
@LukeGus
LukeGus merged commit a5976aa into Termix-SSH:dev-1.4.0 Nov 7, 2026
1 check failed
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.

2 participants