Deletion is slow / progress indicator

Describe the bug feature request
Deleting pages from the bin does not work sometimes and the deletion bar stays at the top even after selecting delete now

Deletion of many Objects (hundreds or 1000+) is slow and takes a couple of minutes. There is no progress bar so you don’t know when the deletion process is completed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to bin
  2. Select an object / Select all
  3. Click delete

Expected behavior
On pressing delete now, the selected pages must be deleted.


Also on pressing the delete button, all the selected pages should be deselected and the delete bar should be hidden in the ideal scenario since the page selected should be deleted by now.
The delete bar seems to wait until the selected objects to be deleted before getting hidden but since the page is not getting deleted, the delete bar is also displayed until deselect button is clicked which makes navigating to other tabs in the dashboard hard. This might seem like a different issue but is actually related to the delete behavior

System Information:

  • OS: Fedora Silverblue
  • Anytype Version: 0.21.1

Additional context
You can see that even after pressing the delete now button, the object is not deleted. Also the delete bar is always visible even after clicking delete button which makes it impossible to navigate to other tabs without deselecting the pages.


It seems that the objects are getting one by one but very slowly in which case, the user can be informed in the confirm delete popup that the pages will be eventually removed in few minutes and hide the delete bar immediately

Describe the bug
There are several objects inside the Bin that cannot be deleted or restored. When you click one this options, nothing happens.

System Information:

  • Anytype Version: 0.21.5
1 Like

@Kite Hi! Please write you operating system and I need to know:

  1. Did delete stop to work after the update?
  2. What are the types of objects in your bin(page, template, obj type …)?

The OS is Mac Big Sur.
The delete is working, with the exepcion of some pages. One of them is a page, and the others doesn’t have a type.
frbdg
I think they are old pages created before the sets and types update.

Hi, is it possible to delete Type and Template in Bin?
I have 1 created Template and 1 created Type in my bin, but can’t delete it.
Is it a bug or is it currently not yet possible to delete this?

Currently not possible

Is your feature request related to a problem? Please describe.
I just deleted multiple objects and after selecting them all and confirming the delete dialog i noticed, that one object after the other disappears. All fine.
However it took a few more seconds for one object to disappear. I think it doesnt matter how many seconds it needs to take the needed steps in the background. But it was still long enough that I thought “does it do what I want (told it to do)?”. And long enough to make me selecting the available objects again. Then they also disappeared.

Describe the solution you’d like
I think some kind of indicator would be nice here. Maybe on the objects that will be deleted, or an “Deleting objects 10/20” above them. Just something, that prevents users from doubting if all is working correctly.

Obviously not a high priority feature.
@AnytypeTeam: Keep up the good work :+1:

2 Likes

This report has been added to our issue tracker and received by the Development Team.

Just deleted about 15 objects in Version: 0.31.48
There is no progress indicator but they were deleted in about a second.

Therefore I think there is no progress indicator needed for this right now.
If someone comes up with another use case where a progress indicator still makes sense, feel free to create a new topic or flag this one.

If you delete many objects (100+) it takes a considerable amount of time before all Objects are deleted. I deleted about a 1000 Objects a few times to deduplicate after an import. That took multiple minutes.

1 Like

Reopened topic and moved to feature request category.

@lynxlove I’ve made some changes to your original post to explain the feature request a bit more based on your original input for the bug report. Feel free to make changes :slight_smile:

1 Like