Organizer: connecting an SSH folder lists its root on the GUI thread (one blocked round trip per connect)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- c
- 领域
- desktop, networking
调研方向
Start with src/apps/organizer/CalcMgr.C and trace the listed connect path through WxResourceTreeCtrl::addSshRoot, EDSIFactory::getResource, and SftpEDSI::getMetaData into SftpOp::mirror. Compare with the worker based folder listing added for #1220, including applySshProbe → syncServerRoots. Done when a delayed fake SSH lets the window answer a hook within about 1 s during connection, with the root shown as connecting.
由索引模型根据 Issue 内容生成。
描述
Connecting an SSH folder still lists its root on the GUI main thread. This happens when connecting from the Servers menu, and when a connect is applied after the start-up worker. During that listing the window is blocked for one remote round trip, with no progress shown. Selecting or double-clicking a folder already in the tree no longer blocks (#1220).
Evidence: a diagnostic build logged a stack for every SFTP script run on the main thread. With a fake ssh that delays every remote command, the only such scripts were made at connect time:
CalcMgr::connectSsh → WxResourceTreeCtrl::addSshRoot → EDSIFactory::getResource → SftpEDSI::getMetaData → mirrorForMeta → SftpOp::mirror
The #1220 diagnosis also named applySshProbe → syncServerRoots, which runs one listing just before "tree root made" (src/apps/organizer/CalcMgr.C).
To do: run the root's metadata read and listing on a worker, as the folder listing does since #1220, and add the root to the tree as "connecting". A test with a delayed fake ssh should show the window answering a hook within about 1 s while the connect is in progress.
- 主要语言
- C
- 星标
- 10
- 派生
- 8
- 平均合并
- 6 小时 32 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FriendsofECCE/ECCE 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
FriendsofECCE/ECCE#1353 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
FriendsofECCE/ECCE#1348 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
FriendsofECCE/ECCE#1345 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 84/100
Life-Framework/Life-Framework#5378 ·
维护者通常 1 天内回复
-
Bug Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug status: planned ui
难度 2/5 1-3 小时 新手友好度 70/100
ChupathingyCE/chupathingyce#2126 ·
维护者通常 1 天内回复
-
good first issue simulation
难度 1/5 1-3 小时 新手友好度 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
维护者通常 1 天内回复
-
needs-kind
难度 1/5 1 小时以内 新手友好度 82/100
falcosecurity/libs#3173 · 1 条评论 ·
维护者通常 1 天内回复