Idea: Standard Resource Pack for Krita plugin writers

It would be really nice if there would be standard resource pack for plugin writers.
This could be added to “Hello world” plugin, or to separate “Standard Template” plugin.
Idea is that code that comes with template would be minimal, but resources would be maximal.

question: “Why not just use shared resources that come with Krita?”
answer: “Shared resources will just brake in future.” (I will choose old UI, when options are: old UI / broken UI)

question: “Would it be better if plugin writers, would just update plugin when Krita changes?”
answer: “Yes. but … plugin writer may not be available any more.”

Plugins should have minimal dependency!, It is small tragedy when plugin stops working in future Krita, just because errors like: “Error: missing checkBxox.png”

ideas for package contents:

  • templates for manual html (minimal, normal, professional)
  • Krita mascot banners / icons (or do you like my programmer art?)
  • generic collection of UI icons
  • dialog templates .ui (info-, warning-, progress-, about-, … dialog)

/AkiR

Tbh I don’t understand your answers for both of the questions?

answer: “Shared resources will just brake in future.” (I will choose old UI, when options are: old UI / broken UI)

How? Why? And why an external resource pack will be better?

answer: “Yes. but … plugin writer may not be available any more.”

Yeah but, then someone else can update it, if there is a plugin in external resource pack and it breaks, someone needs to fix it too. If there is no original plugin developer, someone else needs to do it or the plugin will stay broken. It’s the same with default plugins too.

generic collection of UI icons

See Symbols library for Krita's mockups (more/new contributors welcome!)

dialog templates .ui (info-, warning-, progress-, about-, … dialog)

Qt already has info and warning dialog boxes by default. Progress could be useful, I guess. About could show the manual.html?

1 Like

Qt even has a standard progress dialog.

1 Like

External to Krita, but local to plugin. (resources that are bundled with plugin vs. referencing Kritas own resources ie. Krita.icon() )

Nice! there is already icons collection under work! (I had missed that one.)

/AkiR