https://bugs.kde.org/show_bug.cgi?id=406763

            Bug ID: 406763
           Summary: Add similar concept to GIMP's "parasites"
           Product: krita
           Version: unspecified
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: dev.lar...@gmail.com
  Target Milestone: ---

The GIMP has a concept called "parasites" in it's scripting API's.

Parasites are simple key / value pairs you can attach to many (if not all?)
objects accessible via the different scripting API's.

This allows for a plugin author to get and set state data on e.g. global,
layers, colors, transforms etc. throughout the API. Parasites are then stored
and re-loaded with each document (.kra file). So a plugin can load and save
data/state between sessions.

I've contributed COA Tools support to this plugin
https://github.com/GDquest/GDquest-art-tools and thus noticed that the project
uses layer names for a similar way to store data/state/meta-data between
sessions.

I think it's about time to air the idea and to add some kind of key/value
system that can follow a documents life-cycle, accessible from the scripting
API - before we end up contaminating e.g. Layer names etc.

(On a side note I'm also going to suggest adding user facing tag support to
layers - giving plugins the opportunity to act on user specified tags)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to