Skip to content

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.

BUG:446832

Testing package for Windows

Package: https://disk.yandex.ru/d/YCoD9kP_gMHbjA

Testing Plan

  1. Create an image with a File Layer
  2. While Krita is running, remove the linked file from the filesystem
    • in about 10 seconds a warning should appear
  3. Readd the file back to the filesystem
    • the warning should disappear quickly
  4. 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

Merge request reports

Loading