Skip to content

Block auto-saving when performing multiple changes in a row #4082

@droidmonkey

Description

@droidmonkey

Expected Behavior

Auto-save would wait until a series of changes is completed.

Current Behavior

Auto-save fires (almost) immediately after a change occurs. There is a small delay, but it is too small for some actions. An example of this is when downloading favorite icons for multiple entries. Also, if we enable changing multiple entries at the same time this will also creep up.

Possible Solution

Add an explicit signal to notify the database that a string of changes will occur and to wait for a longer period before issuing a modification signal.

Steps to Reproduce

  1. Enable auto-save
  2. Download multiple favorite icons
  3. Observe the database saving several times

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions