Organizer: connecting an SSH folder lists its root on the GUI thread (one blocked round trip per connect)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- c
- Domaine
- desktop, networking
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 6 h 32 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FriendsofECCE/ECCE#1353 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FriendsofECCE/ECCE#1348 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FriendsofECCE/ECCE#1345 ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Life-Framework/Life-Framework#5378 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
bug status: planned ui
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
ChupathingyCE/chupathingyce#2126 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue simulation
Difficulté 1/5 1-3 heures Accessibilité débutants 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-kind
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
falcosecurity/libs#3173 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour