Batch deleting multiple folders insta-deletes everything if recycle bin is also selected

Đang mở
#1,189 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 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
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

Start by tracing the code path for multi-select folder deletion and how it handles the recycle bin; the issue does not name specific files or tests. Reproduce the reported selection and check the deletion flow, then verify that the recycle bin is emptied while the other selected folder is moved to it rather than permanently deleted.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.14.0

Affected Android/Custom ROM version

17

Affected device model

Pixel 8a

How did you install the app?

Google Play Store

Steps to reproduce the bug

Configure items to be moved to recycle bin on delete.
Multi-select recycle bin and some other folder to be deleted.
Delete them.

Expected behavior

Recycle bin is emptied.
The additional selection is moved to the recycle bin.

Actual behavior

The whole selection is perma-deleted.

Screenshots/Screen recordings

No response

Additional information

I assume this is a simple order of operation issue/fix.

Ngôn ngữ chính
Kotlin
Star
3.8k
Fork
270
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FossifyOrg/Gallery

Tất cả issue của FossifyOrg/Gallery

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.