[Enhancement]: Remove Memory of Last Open Workbench #139

Closed
opened 2026-06-24 13:15:16 +00:00 by ValleyGeek · 1 comment
Owner

Affected area

User Database

Current behavior

Opening the application opens the last viewed workbench

Desired improvement

Opening the application defaults to the grid screen with no memory of what was last used across sessions.

References

No response

### Affected area User Database ### Current behavior Opening the application opens the last viewed workbench ### Desired improvement Opening the application defaults to the grid screen with no memory of what was last used across sessions. ### References _No response_
Member

Implemented on branch 0.3.4/issue-139-no-last-workbench (pushed): the persisted session-state payload no longer records the active workbench, and MainWindow._restore_session_state() always activates the grid workbench on launch regardless of what was open at last close (including stale workbench values from older session-state DBs). Other session-state fields (window geometry, sort order, tag/search filters) are unaffected.

Added/updated tests in tests/test_pr13_config.py:

  • test_main_window_restore_always_defaults_to_grid_workbench
  • test_main_window_persist_session_state_omits_workbench

Full suite (630 passed, 1 skipped) and ruff check/ruff format --check are clean. Awaiting a PR request to merge to main.

Implemented on branch `0.3.4/issue-139-no-last-workbench` (pushed): the persisted session-state payload no longer records the active workbench, and `MainWindow._restore_session_state()` always activates the grid workbench on launch regardless of what was open at last close (including stale `workbench` values from older session-state DBs). Other session-state fields (window geometry, sort order, tag/search filters) are unaffected. Added/updated tests in `tests/test_pr13_config.py`: - `test_main_window_restore_always_defaults_to_grid_workbench` - `test_main_window_persist_session_state_omits_workbench` Full suite (630 passed, 1 skipped) and `ruff check`/`ruff format --check` are clean. Awaiting a PR request to merge to `main`.
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#139
No description provided.