UI: explain dangerous operations, screen modes and host filtering

Four items from a user-side review of the master. The common thread: the UI
now says what it is about to do instead of leaving the user to guess.

Confirm boxes. Logout, restart, shutdown, delete host and uninstall client
all asked "are you sure" without naming the action or the hosts, so a
multi-selection could not be checked. DescribeTargetHosts() lists
"note (or computer name) (ip)" capped at five lines, and the default button
is No. The preview is dropped before the modal box and targets are
re-resolved after it, since the list can reshuffle in between.

Screen modes. High Speed / Ultra Speed became High Quality (DXGI +
differential: lossless, bandwidth hungry) and Smooth (GDI + H264: lossy,
cheap). TranslateMenu looks menus up by displayed text, so the .rc entries,
the FeatureLimitsDlg item names and the language pack keys changed together.

Host filter. The Ctrl+F bar was find-next; it now filters as you type over
IP, location, note, OS and version, and Esc clears the filter. The status
line reads "filtered: N / M total" while active. Commands still resolve by
clientID and m_FilteredIndices still maps row to m_HostList index, so no
command path changes. SearchBarDlg drops from 446 to 312 lines.

Quality changes. The adaptive level now shows its reason for twenty seconds
("Good (high latency)") instead of silently changing. The full-screen info
bar was a fixed 170px, so that reason was clipped; the width is now measured
from the text with the same font that paints it, 170 becoming the floor and
16px quantisation so changing digits do not jitter the window. Cosmetic
only: no threshold, hysteresis, cooldown or lock-out logic is touched.

Verified: debug server build, 0 errors; new strings present in .res and in
the exe. UI not exercised - the debug master would fight the running release
master for the listening port in Bin/settings.ini.
This commit is contained in:
yuanyuanxiang committed 2026-11-07 15:34:45 +01:00
1 parent a190c21217
commit 6b87a31c6f
12 files changed
+364 -220

No files matched your search

+12 -2
View File
@@ -225,8 +225,8 @@ RTT=RTT
画质=畫質
帧率=影格率
黑白屏幕=黑白螢幕
高速屏幕=高速螢幕
极速屏幕=極速螢幕
高清屏幕=高畫質螢幕
流畅屏幕=流暢螢幕
屏幕截图方法:=螢幕擷取方法:
图像压缩方法:=影像壓縮方法:
多显示器支持:=多螢幕支援:
@@ -2238,3 +2238,13 @@ MCP:
提示: 客户端模板里没有内嵌锚块,本次按普通客户端生成;重编 ghost/ServerDll 资源后可再次启用。=提示: 客戶端模板裡沒有內嵌錨塊,本次按普通客戶端生成;重編 ghost/ServerDll 資源後可再次啟用。
提示: 未内嵌TLS信任锚,本批客户端首次连接为明文,需主控在线下发锚。=提示: 未內嵌TLS信任錨,本批客戶端首次連接為明文,需主控線上下發錨。
%d 台主机使用生成时内嵌的信任锚:取消 TLS 后必须重新连上主控才能恢复加密,离线期间不会自行恢复。=%d 台主機使用生成時內嵌的信任錨:取消 TLS 後必須重新連上主控才能恢復加密,離線期間不會自行恢復。
确定要执行「%s」吗?=確定要執行「%s」嗎?
目标主机(共 %d 台):=目標主機(共 %d 台):
此操作需要被控端具有管理员权限。=此操作需要被控端具有管理員權限。
确定要断开并删除以下 %d 台主机吗?=確定要斷開並刪除以下 %d 台主機嗎?
确定要卸载以下 %d 台主机上的被控程序吗?=確定要解除安裝以下 %d 台主機上的被控程式嗎?
无匹配=無符合
筛选结果:%d / 共 %d=篩選結果:%d / 共 %d
延迟高=延遲高
带宽不足=頻寬不足
链路改善=鏈路改善