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

Aperta
#1,750 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 10 giorni

@swastiksharma45 ci sta già lavorando.

Dal 19/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
320
Fork
771
Merge medio
9g 5h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AOSSIE-Org/PictoPy

Tutte le issue di AOSSIE-Org/PictoPy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.