deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.75k stars 105 forks source link

Queue multiple operations #750

Open Ingegneus opened 1 year ago

Ingegneus commented 1 year ago

When deleting/tagging/editing multiple files, it takes a lot of time to process larger numbers of files. like adding 1 tag to 400 images takes several minutes. it would be nice, if one could do multiple edits, like adding a tag to a set of images then removing a tag from another set and so on, without waiting for each operation to finish.

maybe this could work with some sort of queue system where the operations are stored in a list and then applied consecutively. maybe another approach would be to save edits and changes in a database and then sync the database with the actual files.

this slow behaviour is unfortunately a significant hurdle for me to make use of the editing features of aves.

thanks for your awesome work!

deckerst commented 1 year ago

While items are getting edited in the background, do you expect to see in your collection the items as they are (not yet edited), being edited one by one? Or you expect the collection to look like the items are all already edited?

Because if operations are asynchronous, it raises question when you chain editing on items that are filtered by the result of some edits. For example tagging some items, and then rotating all the items with that tag.

Ingegneus commented 1 year ago

I think I would expect the items to appear as if they were already edited