Feature: show transfer history in the file manager path dropdown

The path combo only listed folders browsed in the current session and
picking an entry did not navigate; transfer history was reachable only
through the history button, which always jumped to the newest entry.

Both path combos now load the [file_history] MRU list (max 10) after
each drive-list reset, with duplicate paths skipped. The current folder
still sits at index 0, and SetCurrentPathInCombo deletes stale copies
before inserting. CBN_SELENDOK navigates as soon as the user picks an
entry; CBN_SELCHANGE was avoided because it fires on every arrow-key
move and would flood the remote side with list requests. With the list
dropped, Enter is left to the combo so keyboard selection works too.

A local entry that no longer exists restores the combo text and shows
the existing "history folder not exist" message. For new clients,
TOKEN_FILE_LIST_ERROR now re-enables and clears the remote pane instead
of leaving it greyed out; a new translated message reports the path.

The dialog resource doubles both dropdown heights (44->88 and 58->116
DLU) so about six rows are visible instead of three.

Builds: Debug x64 server. Not runtime-tested against a live client.

Co-Authored-By: deepseek-flash
This commit is contained in:
yuanyuanxianganddeepseek-flash committed 2026-12-06 21:32:14 +01:00
1 parent 4bc51d2498
commit e265527610
6 files changed
+182 -5

No files matched your search

+1
View File
@@ -1881,6 +1881,7 @@ IOCP
没有本地历史记录=Kein lokaler Verlauf
历史目录不存在: %s=Verlaufsordner existiert nicht: %s
远程目录打开失败: %s=Remote-Ordner konnte nicht geoeffnet werden: %s
无法识别远程主机=Unbekannte Remote-Maschine
没有远程历史记录=Kein Remote-Verlauf
算法自适应=Algorithmus adaptiv