Skip to content

v1.4.9

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Aug 17:01

English · 简体中文

English

This update makes built-in VNC connections more reliable, reduces image-sync delay, and puts the main background refresh controls in one place. Existing settings are migrated automatically with safe defaults.

Important fixes

  • Fixed the built-in VNC viewer becoming unavailable after repeated opens or reconnects even though the TCP port was reachable. Terma no longer performs standalone unauthenticated VNC probes that TigerVNC can count toward a temporary host blacklist; managed Linux profiles use SSH diagnostics, and the real viewer performs the authentication check.
  • Fixed the built-in VNC viewer treating a server that closed immediately after its RFB banner as a successful connection and then retrying it again. Handshake retries now cover only network/startup errors, while an immediate post-banner close is reported as a failed handshake and waits for an explicit reconnect.
  • Fixed the Windows X11/XDMCP image bridge competing with normal Windows clipboard use after a screenshot. The bridge still caches screenshots and resumes image paste when an X11 window is focused, but it no longer claims the X11 clipboard while no X11 window is active.
  • Fixed the built-in VNC viewer pausing at regular intervals even when clipboard and image synchronization were disabled. Periodic connection, Task Center, and X Server refreshes no longer rebuild unrelated interface areas while noVNC is rendering, and standalone VNC windows no longer start those background services.
  • Fixed terminal tabs starting another SSH connection whenever they were activated while host-key preflight was still pending or had just failed. Each tab now performs one automatic connection attempt; switching tabs restores the existing session, while reconnect remains an explicit action.

Other changes

  • Fixed split-workspace tab closing so a non-focused pane rerenders when its active tab is replaced.
  • Fixed the blue activity marker remaining on a terminal tab after that tab was selected. The tab marker and its workspace-group marker now clear together immediately, without waiting for a full tab-strip redraw. Command completion no longer changes this marker to green or sends a completion toast/desktop notification.
  • Fixed SFTP editor size gating for GBK, GB18030, Big5, Shift_JIS, EUC-KR, and Latin-1. UTF-8 and UTF-8 BOM remain exact in-browser checks; other encodings are validated by the server using their actual bytes.
  • Serialized rapid remote-desktop quick-open preference changes so double-clicking cannot persist a stale value.
  • Reserved Web VNC popups synchronously from the user gesture, navigated them only after probing succeeds, shared one pending popup across repeated opens, and closed it only after every probe fails.
  • Fixed Electron window titles repeating the host and protocol when a connection name matches its address. Custom connection names and multiple SFTP tab numbers remain visible.
  • System VNC connections now check PATH, common installation folders, saved choices, and operating-system VNC associations first. If no client is found, Terma asks you to choose a VNC Viewer application and remembers the validated path for later connections.
  • VNC image synchronization now checks immediately when Terma regains focus, with a five-second local fallback and a three-second remote check. General settings now collect the user-facing VNC image, SFTP status, and global data refresh intervals in one place. On Windows, unchanged clipboard images are skipped before PNG conversion, and remote images are downloaded only after their fingerprint changes.
  • VNC clipboard helper operations now reuse one short-lived-idle SSH connection per saved SSH profile instead of reconnecting for every text or image check, reducing synchronization delay and connection overhead.
  • Connection data, SFTP session status, desktop notifications, tray status, and X Server indicators now use change-aware or adaptive background checks. Idle views do less work, while active transfers and focus recovery still refresh promptly.
  • Windows X11/XDMCP image clipboard bridging now checks the native clipboard revision before reading or converting image data. An unchanged screenshot no longer gets decoded to PNG and BMP every half second, while selection-owner recovery still works when VcXsrv temporarily takes the clipboard.
  • Background SFTP status checks now report dropped sessions without starting another SSH connection every polling cycle. The next real SFTP operation or an explicit reconnect restores the session. External-editor watches also avoid overlapping requests and slow from 1.2 seconds to 3 seconds during VNC rendering or 8 seconds while Terma is hidden.
  • VNC connection settings now include a performance preset. “Smooth first” uses quality 6 to reduce bandwidth and decode pressure; custom quality values remain available, and the preset does not change clipboard sync or remote resolution.

Changes in this release

  • User-visible work in this release was committed directly by the project maintainer and is not associated with a merged PR or Issue.

Full Changelog: v1.4.8...v1.4.9

简体中文

本次更新提升内置 VNC 连接可靠性、缩短图片同步等待,并把主要后台刷新间隔集中到一个设置区域。旧配置会自动迁移并使用安全默认值。

重要修复

  • 修复内置 VNC 反复打开或重连后,端口仍可访问但服务端却暂时拒绝连接的问题。Terma 不再单独发起会被 TigerVNC 计入临时主机黑名单的未认证 VNC 探测;有关联 SSH 的 Linux 配置改用 SSH 服务诊断,真正的认证交给 VNC 客户端完成。
  • 修复内置 VNC 把服务端发出 RFB 标识后立即关闭误判为成功、随后又自动重复连接的问题。现在只对网络或服务启动竞态做握手重试,RFB 标识后的立即关闭会明确判定为握手失败,并等待用户手动重连。
  • 修复 Windows X11/XDMCP 图片桥接在截图后可能干扰本机其他软件粘贴的问题。桥接仍会缓存截图,并在 X11 窗口获得焦点后恢复图片粘贴;没有活动 X11 窗口时不再主动占用 X11 剪贴板。
  • 修复内置 VNC 即使关闭剪贴板和图片同步,画面仍可能每隔几秒卡顿一下的问题。noVNC 渲染期间,连接列表、任务中心和 X Server 的周期刷新不再重建无关界面;VNC 独立窗口也不再启动这些后台服务。
  • 修复终端在主机密钥预检仍在进行或刚失败时,切换回标签会再次发起 SSH 连接的问题。每个标签现在只自动尝试连接一次;切换标签只恢复原会话,重连仍由用户明确操作。

其他变化

  • 修复分屏工作区关闭标签后非焦点窗格不刷新内容的问题。
  • 修复终端标签已经选中后,右侧蓝色活动提示点仍然残留的问题;标签提示与对应工作区组提示现在会立即一起清除,不再等待整个标签栏重绘。命令执行完成后也不再把提示点变成绿色,且不再发送命令完成的页面或桌面通知。
  • 修复 SFTP 编辑器对 GBK、GB18030、Big5、Shift_JIS、EUC-KR 和 Latin-1 按 UTF-8 错误禁用保存的问题;UTF-8 与 UTF-8 BOM 仍在前端精确检查,其他编码交由服务端按实际字节数校验。
  • 修复快速连续点击远程桌面快捷打开设置时可能按旧值并发保存的问题。
  • 修复 Web VNC 异步探测后新窗口被浏览器拦截的问题:用户点击时同步预留窗口,连续打开会共享同一个待处理窗口,探测成功后再导航,只有全部探测失败时才关闭。
  • 修复连接名与主机地址相同时,Electron 窗口标题重复显示主机和协议的问题;自定义连接名与多个 SFTP 标签编号仍会保留。
  • 系统 VNC 连接现在会先检查 PATH、常见安装目录、已保存选择和操作系统 VNC 关联;仍未找到客户端时,Terma 会让用户选择 VNC Viewer 程序,并记住校验通过的路径供后续连接使用。
  • VNC 图片同步现在会在 Terma 恢复焦点时立即检查,本机图片使用 5 秒兜底轮询,远端图片默认每 3 秒检查一次。“通用设置”现在集中管理 VNC 图片、SFTP 状态和全局数据等用户可调的刷新间隔。Windows 上未变化的剪贴板图片会在 PNG 转换前跳过,远端图片也只在指纹变化后下载。
  • VNC 剪贴板辅助操作现在会按已保存的 SSH 连接复用一条空闲后自动关闭的 SSH 连接,不再为每次文本或图片检查重复建立 SSH,降低同步延迟和连接开销。
  • 连接数据、SFTP 会话状态、桌面通知、托盘状态和 X Server 指示现在使用按变化或按活跃度调节的后台检查。空闲界面减少工作量,活动传输和窗口恢复仍会及时刷新。
  • Windows X11/XDMCP 图片剪贴板桥接现在会先检查系统剪贴板版本;截图没有变化时,不再每 500 毫秒重复读取并转换 PNG、BMP,同时保留 VcXsrv 暂时占用剪贴板后的所有权恢复能力。
  • SFTP 后台状态检查发现会话断开时只更新状态,不再每个轮询周期重新建立 SSH;下一次真实 SFTP 操作或用户手动重连时再恢复。外部编辑会话也不会产生重叠请求,并在 VNC 渲染期间从 1.2 秒降为 3 秒、Terma 隐藏时降为 8 秒检查一次。
  • VNC 连接设置新增性能预设。“流畅优先”会把画质设为 6,减少带宽和解码压力;仍可切换到自定义画质,预设不会改变剪贴板同步或远端分辨率。

本次变更

  • 本版用户可感知内容由项目维护者直接提交,未关联已合并 PR 或 Issue。

完整变更v1.4.8...v1.4.9