mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-24 02:33:31 +01:00
fix(trash): list a large trash, empty it, and browse it by folder
A large trash never finished listing, so the Trash page kept the rows of the last refresh that got anywhere, and Empty Trash listed the trash before sending the delete and hung there (B293). The paging fix is in proton-drive-rs 0.12.5. - The refresh reads only nodes it has not stored yet, without unlocking file keys, keeps the time the server says each was trashed, and drops rows only once the whole listing is in. - Empty Trash sends the delete at once under the trash call time limit and clears the stored listing. Restore and Delete Permanently drop their rows right away. - Schema v47 indexes trash.parent_uid and drops the stored rows once, so they are read again with real deletion times. - The Trash page groups items by the folder they were deleted from, opens deleted folders through the new ListTrashedFolder request, and has a search box and a switch back to one list. Restore and Delete Permanently on a folder row act on everything deleted from it. - pdfs trash takes --by-folder and --folder UID.
This commit is contained in:
1 parent
f141d88d97
commit
d0f9681593
30 files changed
+2661
-1306
No files matched your search
@@ -23,6 +23,13 @@ scratch (user data in `staging/` and `recovery/` is never touched by this).
|
||||
|
||||
### Changed
|
||||
|
||||
- The Trash page shows the folders things were deleted from. Open one to see what
|
||||
was deleted there, and open a deleted folder to see what it held. A switch in
|
||||
the header goes back to one list, and a search box finds anything in the trash
|
||||
by name. Restore and Delete Permanently work on a whole folder row. `pdfs trash`
|
||||
takes `--by-folder`, and `--folder UID` for a deleted folder.
|
||||
- The trash loads faster: a refresh reads only what is new, without unlocking file
|
||||
keys, and shows the time each item was deleted as Proton Drive reports it.
|
||||
- The Places map draws an offline basemap, the one Proton Gallery shows: seas by
|
||||
depth, lakes, rivers, built-up areas, borders and town names, in light and dark,
|
||||
rendered in the background through `proton-map-rs`. It ships with every package
|
||||
@@ -56,6 +63,11 @@ scratch (user data in `staging/` and `recovery/` is never touched by this).
|
||||
atomic writer (temporary file, sync, rename, directory sync). The mount-failure file
|
||||
is now synced before the rename too, so a crash cannot leave it empty.
|
||||
|
||||
### Fixed
|
||||
|
||||
- A large trash listed only its first items and never refreshed, and Empty Trash
|
||||
never emptied it (B293). Needs proton-drive-rs 0.12.5.
|
||||
|
||||
## [3.9.0] — 2026-11-19
|
||||
|
||||
Schema: **46**. Photos adds a local database migration for incremental metadata sync.
|
||||
|
||||
Reference in new issue
Block a user