cockpit-navigator
cockpit-navigator copied to clipboard
Spinner appears in the background when delete operation failed for a directory prompting recursive deletion
Bug Info
When attempting to delete a directory that is not empty, the operation will first fail, as it's not running with '-r' option, but a spinner shows up in the background. The spinner does not go away if the user decides to close the modal dialog, by pressing 'No'.
To Reproduce Steps to reproduce the behavior:
- Click 'delete' button on a non empty directory
- See spinner appearing and the modal promting for recursive deletion
- Click 'No'
- See spinner blocking the whole page
Expected behavior The spinner should only be present while operations are running
Screenshots Screencast from 2023-02-03 10-08-32.webm
Is this issue is resolved?
It's not but please let's not do work on top of this code, as we plan to rewrite it to React etc. https://github.com/cockpit-project/cockpit/wiki/GSoC-2023-topics#navigator-plugin-modernization