PictoPy icon indicating copy to clipboard operation
PictoPy copied to clipboard

BUG: Temporary empty folder state during AI Tagging just after uploading a Folder.

Open Takitxt opened this issue 4 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

ISSUE LOCATION: SETTINGS/FOLDER MANAGEMENT

PROBLEM DESCRIPTION:

When a user adds a large folder containing many images, indexing takes some time in the beginning. If AI Tagging is enabled just after uploading the folder, when the uploading and indexing is in process, the application displays the folder as empty before the images are loaded and tagging begins.

The indexing process varies in time according to the size of folder.(If the folder size is big it will take more time for indexing).

  • The folder that is uploaded is not empty and it still shows it is empty, instead it should be showing, tagging in progress or something, just not folder is empty.

Video Proof:

https://github.com/user-attachments/assets/42891992-c251-4b45-929c-3c0b9fdeb063

Steps to Reproduce:

  1. Open Folder Management.
  2. Add a large folder containing many images.
  3. Just after uploading the folder enable AI Tagging.
  4. Observe the uploaded Folder in Folder Management you will see the Folder is Empty comment below the uploaded folder .

Expected Behavior:

While uploading and indexing is in progress, the application should display:

  1. A loading or
  2. A processing state (exp : wait , a loading icon or processing ....) until the images are out of indexing.

Actual Behavior:

The folder is temporarily shown as empty for a few seconds. Once indexing completes, AI tagging starts instantly.

Suggested Fix:

Display a processing/loading state like a text like:

  1. processing.....
  2. Loading.....
  3. Loading icon(🔄) etc.
  • Instead of just ordering the UI/UX directly to show folder is empty before the api call is done , we should add a indexing state that will show a state(things mentioned above) during the indexing of folder.

  • After the indexing process if the folder is found empty, it should then show Folder is Empty comment.

Record

  • [x] I agree to follow this project's Code of Conduct

Takitxt avatar Jul 10 '26 14:07 Takitxt

👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)

github-actions[bot] avatar Jul 10 '26 14:07 github-actions[bot]

@rohan-pandeyy Can you assign me this issue??

Takitxt avatar Jul 10 '26 14:07 Takitxt

@Takitxt, please try and keep the UI consistent with the existing modern style. You can use a spinner with the word "Indexing...", or something even better if feeling creative😉

rohan-pandeyy avatar Jul 10 '26 15:07 rohan-pandeyy