diff --git a/Cargo.lock b/Cargo.lock index c26f6fc..bdf46f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2741,7 +2741,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.2.2" +version = "0.2.3" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index 2737584..6e33cfc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.2.2" +version = "0.2.3" edition = "2021" default-run = "uuremote-server" authors = ["uu-remote-linux contributors"] diff --git a/README.en.md b/README.en.md index 856b219..c773a5a 100644 --- a/README.en.md +++ b/README.en.md @@ -455,7 +455,7 @@ assistance and ISO / JIS keyboards have not been tested live. | Remote assistance (ID + code) | — | — | ✅ (VM, guest host) | | Terminal session list (create, double-click reattach, end) | — | — | ✅ (VM) | | Reboot, shutdown | — | — | ✅ (VM) | -| Wayland desktop window and clipboard | — | — | ✅ Hyprland, KDE; GNOME window works, clipboard unavailable (#37) | +| Wayland desktop window and clipboard | — | — | ✅ Hyprland, KDE; GNOME window works; clipboard switched to SDL in v0.2.3 (#37, final revision not re-verified live) | "—" = not tested yet. Only use reboot/shutdown on machines you can restart. **Not tested live**: H.265 / 4:4:4 with official hosts, multiple monitors. Logs carry field numbers, sizes and states only, never keystrokes, clipboard or file contents, codes or credentials. diff --git a/README.md b/README.md index efe150d..b7ea3ce 100644 --- a/README.md +++ b/README.md @@ -416,6 +416,6 @@ Mac 目标使用 macOS 原生键码,Windows / Linux 目标保留 Windows VK。 | 远程协助(ID + 验证码) | — | — | ✅(虚拟机,访客主机) | | 终端会话列表(新建、双击接回、结束) | — | — | ✅(虚拟机) | | 重启、关机 | — | — | ✅(虚拟机) | -| Wayland 下的桌面窗口与剪贴板 | — | — | ✅ Hyprland、KDE;GNOME 窗口正常,剪贴板不可用(#37) | +| Wayland 下的桌面窗口与剪贴板 | — | — | ✅ Hyprland、KDE;GNOME 窗口正常,剪贴板已于 v0.2.3 改为 SDL 直连(#37,最终版本未重新实机验收) | 「—」表示尚未测试。重启/关机只应在可以重启的机器上使用。**未实测**:官方被控端的 H.265 / 4:4:4、多显示器。日志只记录字段号、大小和状态,不记录键盘、剪贴板、文件内容、验证码或凭据。 diff --git a/docs/release-notes/v0.2.3.md b/docs/release-notes/v0.2.3.md new file mode 100644 index 0000000..5a2601d --- /dev/null +++ b/docs/release-notes/v0.2.3.md @@ -0,0 +1,20 @@ +控制端:GNOME Wayland 下剪贴板不再让 Dock 图标跳动。/ Viewer: clipboard no longer makes GNOME Wayland Dock icons jump. + +### 控制端修复 / Viewer — fixed +- **GNOME Wayland 剪贴板与 Dock 跳动**(#37,感谢 @wanglz111,#41):之前每 500 ms 调用一次 `wl-paste`,在缺少 data-control 的 GNOME 上 + 每次都会创建临时窗口,导致 Dock 图标持续跳动。现在桌面窗口直接通过 SDL 读写文本剪贴板,不再需要 `wl-clipboard` / `xclip`。 + 只在桌面窗口获得焦点时同步,仍保留 30 KiB 上限、`UU_VIEWER_CLIPBOARD=0` 关闭开关和原有协议。 + 早期版本已由报告者在 GNOME Wayland 实机确认 Dock 不再跳动;⚠️ 最终的焦点门控版本只有自动化测试,尚未重新实机验收。 + Clipboard now goes through the existing SDL window (focused only). An earlier revision was confirmed live by the reporter; + the final focus-gated revision is covered by automated tests only. + +### 已知问题 / Known issues +- 剪贴板只在控制端窗口获得焦点时同步;窗口在后台时收到的被控端剪贴板变化不会写入本机。 +- 剪贴板内容提供方响应很慢时,可能短暂卡住控制端窗口(SDL2 同步读取)。 +- 控制端 → 官方 Windows 被控端的剪贴板:被控端确认收到文本,但未出现在其桌面剪贴板中,仍在排查;与官方 Mac 被控端的双向剪贴板未验证。 +- Clipboard syncs only while the viewer window is focused; viewer → official Windows host clipboard is still unresolved. + +### 下载 / Download +`uu-remote-linux-v0.2.3-x86_64-linux.tar.gz`:主机 `uuremote-server`(X11 版)与控制端 `uuremote-viewer`(x86_64,glibc ≥ 2.35;控制端需 SDL2、GTK3、ffmpeg),附带 `contrib/`。主机端与 v0.2.2 相同。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.**