question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Impossible to cancel a delete task

See original GitHub issue

Observed behavior

When a delete task has been initiated, it seems impossible to cancel. On tasks with lower number of resources to delete, it apparently finishes before one even manages to click the Cancel button, and on tasks with more resources selected to delete, the button does not seem active at all, and the task continues without allowing the user to cancel.

2019-12-09_8-00-37

Plus there’s still something iffy about the annotation. Above I imported around 500 MB from the KA-BG channel, but after selecting around 400 MB to delete, and without me being able to cancel - it reports 1GB deleted! To top it off Manage channel still reports all resources as present on the device, even though that amount/size of resources is clearly not present on the device HD.

Expected behavior

Ability to cancel a delete task after it’s started. Correctly reported number and size of resources remaining/present on the device.

User-facing consequences

Inability to correct the error, unmet expectations regarding the available space & resources on the device.

Errors and logs

cancel-delete-logs.zip

Steps to reproduce

Start a delete task and try to cancel.

Context

  • Kolibri version: 0.13.0b4
  • Operating system: Windows 7
  • Browser: both Chrome & FF

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
rtibblescommented, Dec 19, 2019

Well conditionalizing it based on the cancellable property of the task is the most efficient way to hide it when it should be hidden!

0reactions
radinamaticcommented, Dec 19, 2019

Dealer’s choice! If making the UI conditionalize its availability is not that much more work than just hiding the button, I’d say go for it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to delete a task in Outlook 2016 - Microsoft Community
Unable to delete a task in Outlook 2016 · 1. On your desktop, press the Windows key (Between Ctrl and Alt), then "R"....
Read more >
The active task cannot be deleted. - Ivanti Community
I want to delete a task, but the delete command and cancel command are not displayed, so the task cannot be deleted. Is...
Read more >
Deleting, Removing, or Canceling Tasks - Aprimo Help
If you do not want to perform a task, you can remove or cancel the task. The task's Allow Remove field must be...
Read more >
Is it possible to simply cancel a task? (not delete) : r/todoist
Sometimes a task is no longer current and instead of "deleting" a task, I would love to have an archived option of "canceled"...
Read more >
Unable to cancel, abandon, or delete release
I am unable to abandon or delete the release, because it says it is still 'canceling' the task. This release has been 'running'...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found