Comment

Comment by snvzz

There's more serious reasons this file picker is broken.

Here's a trivial to reproduce and obvious issue that's been there for several years now:

1. Open a directory that loads slowly (e.g. one with thousands of files on a smb3 mount)

2. While the list is loading, select a file (but do not open it)

3. Wait for the whole list to load

Once the list finishes loading, the file on the very top of the list gets automatically selected (discarding your selection).

Thus, if you select a file and click open, in the time between you select and click open, the selection can auto-change and you'll end up opening something else than what you've selected.

It is this bad.

parent snvzz 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton