Wait step that clicks an image can pause a run with Pause when unfocused
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 2
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TMHSDigital/autoclicker
-
maintenance priority: low
Dificultad 3/5 Medio día Aptitud para principiantes 56/100
TMHSDigital/autoclicker#202 ·
Los mantenedores suelen responder en 3 días
-
dependencies maintenance priority: medium
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
TMHSDigital/autoclicker#154 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
marketing packaging priority: low
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
TMHSDigital/autoclicker#118 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
documentation marketing priority: medium
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
TMHSDigital/autoclicker#117 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
ci packaging priority: medium
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
TMHSDigital/autoclicker#91 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Todos los issues de TMHSDigital/autoclicker
Issues similares
-
hive size:simple
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
painted-porch/marcus#977 ·
Los mantenedores suelen responder en 1 día
-
llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FAIRmat-NFDI/sand#239 ·
Los mantenedores suelen responder en 1 día