NeoApplications / Neo-Launcher

Neo-Launcher
GNU General Public License v3.0
1.67k stars 109 forks source link

Backup management: can only delete/trash the most recent backup from long-press, never anything older #471

Open achadwick opened 7 months ago

achadwick commented 7 months ago

Description

In version 0.9.3, I can only delete the newest backup at any time, even if I try to delete the oldest backup.

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. Go to Home Settings → Others → Backups
  2. Make several backups, separated by a few seconds (or a few months; doesn't matter.)
  3. Try to delete the oldest one (or any other that isn't the most recent; doesn't matter)
    • Long-press the thumbnail. Share and Trash buttons will appear for it, underneath the thumbnail.
    • Tap the trashcan icon. There is no confirmation for deleting.
  4. Do this repeatedly.
  5. Each time, observe that only the newest backup vanishes from the list.
  6. btw, the trashcan icon is still on the same (oldest) item every time?
    • I mean, it's not as if it's deleting the item the trash button is attached to.
    • So maybe that makes a twisted sort of sense? haha.
    • Actually, no. The one I chose should have been deleted in the first place, and the entire long-press submenu should go away after the deletion happens (because it's square has "gone away").

Screenshots

1. I long-press on the oldest one 2. A delete button appears. I press it. 3. The newest item in the list vanishes. Oops. That can't be right! I repeat the action, because the trashcan icon is "still there". 4. Oh dear. It's still happening. 5. My list is now empty

Device and OS