Wait step that clicks an image can pause a run with Pause when unfocused
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Python
- 星标
- 0
- 派生
- 2
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TMHSDigital/autoclicker 的其他 Issue
-
maintenance priority: low
难度 3/5 半天 新手友好度 56/100
TMHSDigital/autoclicker#202 ·
维护者通常 3 天内回复
-
dependencies maintenance priority: medium
难度 5/5 一周以上 新手友好度 35/100
TMHSDigital/autoclicker#154 · 1 条评论 ·
维护者通常 3 天内回复
-
marketing packaging priority: low
难度 4/5 3-5 天 新手友好度 38/100
TMHSDigital/autoclicker#118 · 1 条评论 ·
维护者通常 3 天内回复
-
documentation marketing priority: medium
难度 3/5 1-2 天 新手友好度 55/100
TMHSDigital/autoclicker#117 · 1 条评论 ·
维护者通常 3 天内回复
-
ci packaging priority: medium
难度 4/5 3-5 天 新手友好度 47/100
TMHSDigital/autoclicker#91 · 1 条评论 ·
维护者通常 3 天内回复
查看 TMHSDigital/autoclicker 的全部 Issue
相似的 Issue
-
hive size:simple
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 70/100
painted-porch/marcus#977 ·
维护者通常 1 天内回复
-
llm translation
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
FAIRmat-NFDI/sand#239 ·
维护者通常 1 天内回复