| 1 | # Recycle bin purge |
| 2 | |
| 3 | OneNote 2010 deletes for good what its Notebook Recycle Bin has held "after 60 |
| 4 | days" (`DaysToKeepRecycledItems`), a few minutes after it starts. Observed in a lab |
| 5 | clone on 2026-09-30, with the clock moved to age pages and sections: |
| 6 | |
| 7 | - it judges by when the content last changed, not when it was deleted: pages |
| 8 | created 70 days back and deleted a minute before were purged, a page deleted |
| 9 | that day but changed that day was kept; |
| 10 | - a page goes from `OneNote_DeletedPages.one` in one appended revision; |
| 11 | - a binned section goes as a file once none of its pages changed in 60 days, its |
| 12 | file's own times aside; the bin's TOC keeps listing it, unchanged. |
| 13 | |
| 14 | `candidate/` is the notebook |
| 15 | `the_recycle_bin_forgets_pages_and_sections_unchanged_for_sixty_days` in |
| 16 | `crates/notebook/tests/structure.rs` exports with `NOTEBOOK_PURGE_EXPORT`: a page |
| 17 | and a section deleted into the bin, then purged as 61 days on. `cold/` is a fresh |
| 18 | OneNote 2010's read: Deleted Pages empty, the section gone, no repair, every file |
| 19 | left as written. `tools/test_recycle_purge.py` checks it without a VM. |