cockpit-navigator icon indicating copy to clipboard operation
cockpit-navigator copied to clipboard

Spinner appears in the background when delete operation failed for a directory prompting recursive deletion

Open KKoukiou opened this issue 2 years ago • 2 comments
trafficstars

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:

  1. Click 'delete' button on a non empty directory
  2. See spinner appearing and the modal promting for recursive deletion
  3. Click 'No'
  4. 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

KKoukiou avatar Feb 03 '23 09:02 KKoukiou

Is this issue is resolved?

Prince2319 avatar Mar 08 '23 19:03 Prince2319

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

KKoukiou avatar Mar 09 '23 09:03 KKoukiou