Playing with the 3.00 RC1 on Linux. Starting with this:
I can’t help notice that there is a disagreement on the centering or left-formatting of the labels (left-formatting is more to my taste… ). And the boolean on the other side looks a bit out of place. The gradient problem is already reported.
Now for the real questions:
There are many parameter types for which I get parameter XXX has non supported type GimpParamYYYY for value type GimpYYYY
. Does this means that there could be a widget for this someday? But it’s not implemented yet?
There are parameter types for which I don’t get a message but there are no entries in the dialog: image, bytes, resource (what is this), selection (what is this?). Is it expected?
add_pattern_argument
crashes and burns: gimp_resource_chooser_set_resource: assertion 'resource != NULL' failed + Segfault
. Code is:
procedure.add_pattern_argument( 'pattern', # Name
'Pattern', # Nick
'Pattern blurb', # Blurb
True, # noneOK
None, # Default value
True, # Default to context
GObject.ParamFlags.READWRITE)
Any of the above to report as a bug?
The code I have uses an ImageProcedure
but I can’t find a way to have a plain Procedure
. The ImageProcedure appears to be a Procedure with baked-in run_mode
, image
and drawables
arg. So, if I want to start from a Procedure, I have to add a run_mode
parameter but there is no call for this? This is somewhat important because over half of my Gimp2.x scripts are not amenable to ImageProcedure (almost half of them take an image and a path (called form the Paths list), and a significant number take just an image). Or should I play with the procedure sensitivity mask (but this would only solve the case of no drawables)?
Random additional thoughts
- The sensitivity of individual items in a “choice” is nice but I’ll have to figure out a way to change this on the fly when the dialog is shown…
- Given that there are specific parameter types for layers, layer masks, channels, text layers and layer groups, wouldn’t it make sense to have Procedure sensitivity flags to pre-filter on these types?
- Maybe include a Procedure sensitivity flags for Paths