Feature: add a remote Open command with large-file confirmation

Add an Open item atop the remote file list context menu: a single file is
pulled back and previewed through the existing flow, a single folder
navigates into its subdirectory, and multi-selection disables it. Files
over the 8 MiB preview limit ask for confirmation; once confirmed the
explicit-open path relaxes the size gate, hash query, total timeout and
cache eviction so even very large files transfer and open. Double-click
preview behavior is unchanged. Localize the new menu item and dialog in
en_US/zh_TW/de_DE.

Co-Authored-By: Qoder
This commit is contained in:
yuanyuanxiangandQoder committed 2026-12-05 17:48:17 +01:00
1 parent ee20326bbf
commit bdf85a82cd
8 files changed
+94 -18

No files matched your search

+3
View File
@@ -2376,3 +2376,6 @@ MCP
正在预览 %s ...=正在預覽 %s ...
获取远程文件信息失败(错误码 %u)=取得遠端檔案資訊失敗(錯誤碼 %u)
预览下载失败(错误码 %u)=預覽下載失敗(錯誤碼 %u)
; File manager remote Open (preview) menu + large-file confirmation
打开(&O)=開啟(&O)
文件较大:%s(%llu MB,超过 %u MB 预览上限)。\n仍要传输到本机并打开吗?大文件传输可能耗时较长。=檔案較大:%s(%llu MB,超過 %u MB 預覽上限)。\n仍要傳輸到本機並開啟嗎?大檔案傳輸可能耗時較長。