Skip to content

feat: add "Clear recent projects" menu entry (#11401) - #11413

Closed
BenJule wants to merge 1 commit into
bambulab:masterfrom
BenJule:feat/11401-clear-recent-projects
Closed

feat: add "Clear recent projects" menu entry (#11401)#11413
BenJule wants to merge 1 commit into
bambulab:masterfrom
BenJule:feat/11401-clear-recent-projects

Conversation

@BenJule

@BenJule BenJule commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

What

Closes #11401. Adds a "Clear recent projects" entry to the File menu so the recent projects list can be cleared from the UI. Until now the only way was to delete config files by hand.

Change

The new item sits next to the existing "Recent projects" submenu. When clicked it removes every entry from the in-memory FileHistory, clears the persisted recent_projects config and saves. It is disabled when the list is already empty, using the same condition as the submenu.

Note

No GUI build here, so I have not clicked it in a running build. CI covers compilation. It reuses existing, already-used APIs (FileHistory::RemoveFileFromHistory, AppConfig::set_recent_projects and save), so the risk is low. Happy to move it inside the submenu instead if you prefer that placement.

There was no way to clear the recent projects list from the UI. The only
workaround was deleting config files by hand.

Add a "Clear recent projects" item to the File menu, next to the Recent
projects submenu. It empties both the in-memory FileHistory and the persisted
recent_projects config and saves, and is disabled when the list is already
empty.

Closes bambulab#11401

@Haidiye00 Haidiye00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve

@BenJule

BenJule commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of #11687 and #11494, which cover the same recent-projects clearing and also keep the WebView list in sync (this one doesn't).

@BenJule BenJule closed this Jul 25, 2026
@tonghao-bbl
tonghao-bbl removed their request for review August 7, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "Clear Recent Projects" option to Bambu Studio

2 participants