I had a quick look at what we have for loading, and indeed it's a mess at least in that area. I'll try and have a stab at cleaning it up a tiny bit and avoid the loading of partial files without notifying. And I think we should probably not load truncated files, even if we'd warn better (and for that I think an infobar would indeed be better than a dialog that is skipped on startup), because it's just bound to loose data.
For the "file with NULs" case, I think there are only 3 options:
But again, I don't think having (partly working) code for "load truncated but read-only the user can choose to ignore" is a very good idea, especially as the warning can sometimes (even without a bug) be hard to notice.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.