Let File Layers report errors with filesystem via node properties
Now the user can see an exclamation mark near the file layer's name when the layer fails to access/parse the linked file. The user can hover the exclamation mark and see what actually hapened.
Testing package for Windows
Package: https://disk.yandex.ru/d/YCoD9kP_gMHbjA
Testing Plan
- Create an image with a File Layer
- While Krita is running, remove the linked file from the filesystem
- in about 10 seconds a warning should appear
- Readd the file back to the filesystem
- the warning should disappear quickly
- Replace the linked with some non-image data that Krita cannot open as an image
- the warning should appear telling that the file could not be loaded
Edited by Dmitry Kazakov