Opening a non-existant file from Recent Files does not display a warning
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 340
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Report
#### Description
When attempting to open a file that doesn't exist from the "Recent Files" menu, the default story opens instead. This is a bit confusing as there's no indication of why the default story is opening, and at least in my case, I was worried I had lost work after renaming a folder before going to bed. To add to the confusion, Inky's title still updates to the now-non-existant file's name, giving the impression it found the file with default content.
#### Reproduction Steps
1. Save a file from Inky
1. Close inky
1. Rename the file
1. Open inky
1. Open the file from "Recent Files" under the `File` menu
#### Expected Result
* An error message should pop explaining the file could not be located
#### Actual Result
* The default story opens, however the document title still updates to the file name you attempted to open.
#### Environment
- OS: Windows 10 19044.1766
- Inky: 0.13.0
- Ink: 1.0
- InkJS: 2.1.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.