#218 Desktop bulk test: after a bulk delete the view sometimes stays loading with no markers
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#218
- issue
- state:closed
`test/desktop-bulk.mjs` sometimes fails after the bulk delete. The app is left showing its loading state and draws no markers, so the wait for the remaining count times out: ``` state {"toast":"Deleted 1,010 moments and 1 duration. Undo restores them; saving writes it to the file.","error":"","open":[],"view":"-10/1 5010/1","markers":0,"exact":["-10/1","5010/1"],"storage":"sqlite","size":[1400,900],"loading":true,"empty":true,"count":0} Error: Timed out waiting for [...document.querySelectorAll('#markers .event-marker')].reduce((n, m) => n + Number(m.dataset.count), 0) === 3990 ``` `loading` and `empty` are both true, so the redraw after the delete seems never to finish against the native store. Seen locally on main (`194069f`) in 2 of 5 runs, under `xvfb-run` with `WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_DISABLE_COMPOSITING_MODE=1`. It hasn't been seen in CI yet. Found while looking into #217; the hang after PASS fixed there is a separate problem. https://github.com/openchronology/timeline-app/issues/218