Repository navigation
Commit 69626bb
committed
Fix(vault): a vault that fills up shows its notes without a reload (#1023)
Opening an empty folder and then copying a vault into it left every note under
a collapsed Inbox until a reload. With no layout stated in vault.json, main
infers it from the root's own entries, so the first folder to land moves the
vault to root mode, and nothing told the window. Root-level events now ask, and
refresh the notice about hidden root notes with it.
A second way to the same empty sidebar: refreshNotes drops a listing when the
layout moved while it ran, which is right, but nothing followed it. A resync
fetches settings and notes side by side, so when settings landed first the notes
were thrown away. It now lists again for the same vault, and not for another one.
This one was found on Android, where it left the drawer empty until the next
resume; the phones get it when they adopt this core.
Large attachments were not the cause of the report: those sizes open and list
normally on macOS, Windows and Android.1 parent e65bae5 commit 69626bb
2 files changed
Lines changed: 103 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
167 | 236 | | |
168 | 237 | | |
169 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8584 | 8584 | | |
8585 | 8585 | | |
8586 | 8586 | | |
| 8587 | + | |
| 8588 | + | |
8587 | 8589 | | |
8588 | 8590 | | |
8589 | 8591 | | |
| |||
8597 | 8599 | | |
8598 | 8600 | | |
8599 | 8601 | | |
8600 | | - | |
| 8602 | + | |
| 8603 | + | |
| 8604 | + | |
| 8605 | + | |
| 8606 | + | |
| 8607 | + | |
| 8608 | + | |
| 8609 | + | |
| 8610 | + | |
8601 | 8611 | | |
8602 | 8612 | | |
8603 | 8613 | | |
| |||
8887 | 8897 | | |
8888 | 8898 | | |
8889 | 8899 | | |
| 8900 | + | |
8890 | 8901 | | |
8891 | 8902 | | |
8892 | 8903 | | |
| |||
8988 | 8999 | | |
8989 | 9000 | | |
8990 | 9001 | | |
| 9002 | + | |
| 9003 | + | |
| 9004 | + | |
| 9005 | + | |
| 9006 | + | |
| 9007 | + | |
| 9008 | + | |
| 9009 | + | |
| 9010 | + | |
| 9011 | + | |
| 9012 | + | |
| 9013 | + | |
| 9014 | + | |
| 9015 | + | |
| 9016 | + | |
| 9017 | + | |
| 9018 | + | |
| 9019 | + | |
| 9020 | + | |
| 9021 | + | |
| 9022 | + | |
| 9023 | + | |
8991 | 9024 | | |
8992 | 9025 | | |
8993 | 9026 | | |
| |||
0 commit comments