leehaut opened a new pull request, #8703: URL: https://github.com/apache/hop/pull/8703
Fix https://github.com/apache/hop/issues/8700 ## Summary Deleting a project removed it from `hop-config` and from the **More projects...** dialog, but the status-bar project menu kept showing it until Hop was restarted. The menu is filled from the in-memory recent list `lastUsedProjects` (audit type `last-projects`). That list is loaded once and was not updated when a project registration was deleted. `performProjectDeletion()` only refreshed the toolbar label, so the next menu open still drew the old name. Opening another project could also write that name back into the audit list. ## What changed - After a project registration is removed, `forgetLastUsedProject()` drops the name from `lastUsedProjects` and stores the updated `last-projects` list. - The project menu only shows names that are still registered in `hop-config`, then applies the existing sort and the 15-entry limit before building menu items. Both the **More projects...** delete button and **Delete** on the project menu use `performProjectDeletion()`, so both paths are covered. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
