[Bug]: Closing a directory doesn't reset the last opened directory #34

Closed
opened 2026-06-10 03:53:12 +00:00 by ValleyGeek · 1 comment
Owner

App version

0.1.10

Platform

Both

Steps to reproduce

  1. After opening a directory and finishing a scan choose Close Directory and Delete Cache
  2. Close the application
  3. Open the application

Expected behavior

The application opens with no directory loaded or selected

Actual behavior

The last opened directory that was closed before closing the application is reopened

Additional context

No response

### App version 0.1.10 ### Platform Both ### Steps to reproduce 1. After opening a directory and finishing a scan choose `Close Directory and Delete Cache` 2. Close the application 3. Open the application ### Expected behavior The application opens with no directory loaded or selected ### Actual behavior The last opened directory that was closed before closing the application is reopened ### Additional context _No response_
ValleyGeek changed title from [Bug]: Closing a directory doesn't rest the last opened directory to [Bug]: Closing a directory doesn't reset the last opened directory 2026-06-10 04:24:06 +00:00
Member

Confirmed fixed and validated. _on_close_directory_and_cache() now calls the existing (previously dead) _remove_from_recent() helper, clearing the directory from recent_dirs in GlobalConfigDB so it's no longer auto-reopened on next launch. Resolved on branch 0.1.37/issue-27-34-close-directory (PR to main incoming). Closing.

Confirmed fixed and validated. `_on_close_directory_and_cache()` now calls the existing (previously dead) `_remove_from_recent()` helper, clearing the directory from `recent_dirs` in `GlobalConfigDB` so it's no longer auto-reopened on next launch. Resolved on branch `0.1.37/issue-27-34-close-directory` (PR to `main` incoming). Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ai-collab/bulk-image-organizer#34
No description provided.