Unused wait-step captures are never deleted from the images folder
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
- Nửa ngày
- Mức phù hợp với người mới
- 56/100
Hướng nghiên cứu
Start with _grab_step_image and recapture_step_image in autoclicker/gui/features/steps.py to see where step-*.png files are written, then compare with _forget_image in autoclicker/gui/features/image.py, which only handles target- captures. Find where the saved profiles and the current sequence are loaded so you can collect the referenced image paths. Done means a startup cleanup removes unreferenced step-*.png files and keeps those used by the sequence or any profile, which you can check by running against a throwaway APPDATA folder.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Wait-for-image steps save their capture as step-*.png in the images folder. Capturing a step's image again, removing the step, or importing the same profile repeatedly leaves the old files behind. Nothing deletes them, so the folder slowly fills with unused captures.
Where
autoclicker/gui/features/steps.py(_grab_step_image,recapture_step_image)autoclicker/gui/features/image.py(_forget_imageonly handlestarget-captures)
Suggested fix
On startup (or after a profile change), delete step-*.png files that no saved sequence step and no profile references. Undo for Remove keeps steps in memory only for the session, so a cleanup at startup is safe.
Acceptance criteria
- Unreferenced
step-*.pngfiles are removed; ones used by the current sequence or any profile are kept - Test with a throwaway APPDATA
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
-
bug priority: low
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
TMHSDigital/autoclicker#201 ·
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