Wait step that clicks an image can pause a run with Pause when unfocused
Les mainteneurs répondent en général sous 3 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 52/100
Piste de recherche
Start in autoclicker/core/click_engine.py, reading _windows_under_steps to see how the allowed windows are built from click and hold points, then _perform_sequence to find where a wait-image step clicks its match. The issue suggests adding the root window under the clicked point to _step_hwnds for the rest of the run. Done means a test like TestSequenceFocus.test_any_step_window_counts_as_in_front passes, where the clicked image sits in a window no step point covers and the run keeps going.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
With Pause when unfocused on, a sequence's allowed windows are the ones under its click and hold points. A wait_image step with "click the image" set clicks wherever the image is found, so a window that appears only there is not in that set. If that click brings it to the front, the run pauses at the next step.
Where
autoclicker/core/click_engine.py(_windows_under_steps,_perform_sequence)
Steps to reproduce
- Sequence: click a button in window A that opens window B, then a wait-for-image step on a button in B with click on, then another step.
- Turn on Pause when unfocused and start.
- After the image click, B is in front and the run pauses ("waiting for the target window to be in front").
Suggested fix
After a wait step clicks its match, add the root window under that point (if it isn't ours) to _step_hwnds for the rest of the run, the same way windows under step points are added at Start.
Acceptance criteria
- A test like
TestSequenceFocus.test_any_step_window_counts_as_in_frontwhere the clicked image is in a window no step point covers, and the run keeps going
Related: #119
- Langage dominant
- Python
- Étoiles
- 0
- Forks
- 2
- Merge moyen
- 2 j 13 h
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
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 TMHSDigital/autoclicker
-
maintenance priority: low
Difficulté 3/5 Une demi-journée Accessibilité débutants 56/100
TMHSDigital/autoclicker#202 ·
Les mainteneurs répondent en général sous 3 jours
-
dependencies maintenance priority: medium
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
TMHSDigital/autoclicker#154 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
marketing packaging priority: low
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
TMHSDigital/autoclicker#118 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
documentation marketing priority: medium
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
TMHSDigital/autoclicker#117 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
ci packaging priority: medium
Difficulté 4/5 3-5 jours Accessibilité débutants 47/100
TMHSDigital/autoclicker#91 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
Toutes les issues de TMHSDigital/autoclicker
Issues similaires
-
hive size:simple
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
painted-porch/marcus#977 ·
Les mainteneurs répondent en général sous 1 jour
-
llm translation
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FAIRmat-NFDI/sand#239 ·
Les mainteneurs répondent en général sous 1 jour