BUG: Adding an existing folder doesn't let you add newly created sub-folders

Đang mở
#1,750 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 10 ngày

@swastiksharma45 đang làm issue này rồi.

Từ ngày 19/11/2026.

Đá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
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
desktop

Hướng nghiên cứu

Start by locating the folder import flow and the check that reports “Folder already exists”; the issue does not name specific files or tests. Trace how existing folders and their subfolders are stored, then determine how to add newly created subfolders while handling an unchanged folder. Done means re-adding a folder discovers missing subfolders and gives the expected response when its contents are unchanged.

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

Mô tả

bug enhancement
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

Currently:
When you add a folder to PictoPy it adds all the sub-folders with it.
Therefore, adding an existing folder again should add back the previously deleted/newly created sub-folders.
But the UI directly denies this action by saying 'Folder already exists'.

Ideal Behaviour:

  • Adding an existing folder should add the previously non added subfolders.

Although, this can be achieved by adding the subfolders individually, this logic of adding missing subfolders is intuitive as per the logic of adding new folders into PictoPy.

Example of the problem:

  • User adds one 'Main' folder with 20 subfolders.
  • Later he decides to add 10 more subfolders, but he cannot add the 'Main' folder again since the UI will block it by saying 'Main folder already exists.
  • User will have to add these folders one by one.

Expected example solution:

  • To resolve this we will let users add an existing folder again if there is updated data in that folder. And alert if they add the same folder with exact same data.
Record
  • I agree to follow this project's Code of Conduct
Ngôn ngữ chính
Python
Star
320
Fork
771
Merge trung bình
9 ngày 5 giờ
Pull request đã merge (30 ngày)
15

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 AOSSIE-Org/PictoPy

Tất cả issue của AOSSIE-Org/PictoPy

Issue tương tự

Thêm issue về Python

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.