Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Krita Krita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Bugzilla
    • Bugzilla
  • Merge requests 72
    • Merge requests 72
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GraphicsGraphics
  • KritaKrita
  • Merge requests
  • !1419

Let File Layers report errors with filesystem via node properties

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dmitry Kazakov requested to merge dkazakov/krita:kazakov/file-layer-warnings into master Apr 18, 2022
  • Overview 1
  • Commits 2
  • Pipelines 3
  • Changes 11

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 Apr 18, 2022 by Dmitry Kazakov
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: kazakov/file-layer-warnings