Open spham-amzn opened 6 days ago
Hi, I'd happily look at solving this if i was assigned. I have a working PR (Currently in draft state), its a fairly simple solution that may need reworking if deemed too naive.
This would be my first contribution here.
I came across a few potential ways to fix this bug such as calling ResetScreenRequest(ProjectManagerScreen:Projects)
in HandleRemoveProject()
similar to HandleNewProjectButton()
which worked but seemed like an not ideal solution and seemed to cause some visual bugs on manual testing.
It would also be possible / simple to pull RemoveProjectButtonsFromFlowLayout()
out of the if(!projects.isEmpty()
check and refactor it to handle "Empty" projects.
I've first focussed on the draft PR solution as it seemed like simplest solution to me. Happy to hear your thoughts!
Describe the bug In O3DE Project Manager, if there is only one project tile in the Projects page, deleting it will delete the project contents but does not remove the project tile. If there are multiple project tiles, deleting projects will remove them. This only occurs if there is only one project tile left and its the one that you want to delete.
Note that it will correct itself one a restart of the Project Manager, so exiting and re-launching it will fix it.
Steps to reproduce Steps to reproduce the behavior:
Expected behavior The project is deleted from disk and the tile is removed from Project Manager
Actual behavior The project is deleted from disk but the tile still remains in Project Manager
Screenshots/Video
Found in Branch main (installer)
Commit ID from o3de/o3de Repository c602b493dbb91b246f479cb4fc35bbbcf3f55228
Desktop/Device (please complete the following information):
Additional context Add any other context about the problem here.