Wait step that clicks an image can pause a run with Pause when unfocused
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 2
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TMHSDigital/autoclicker
-
maintenance priority: low
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 56/100
TMHSDigital/autoclicker#202 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
dependencies maintenance priority: medium
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
TMHSDigital/autoclicker#154 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
marketing packaging priority: low
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
TMHSDigital/autoclicker#118 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
documentation marketing priority: medium
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
TMHSDigital/autoclicker#117 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
ci packaging priority: medium
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
TMHSDigital/autoclicker#91 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của TMHSDigital/autoclicker
Issue tương tự
-
hive size:simple
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
painted-porch/marcus#977 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
llm translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FAIRmat-NFDI/sand#239 ·
Maintainer thường phản hồi trong vòng 1 ngày