Feature request #19965

Allow to set the order of inputs in processing models

Added by Olivier Dalang over 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/Modeller
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:27787

Description

Hi,

It's not possible to control the order in which inputs appear in processing models execution dialog.

It seems (not confirmed) that the order used is the alphabetical order of the input internal name, which cannot be modified from the GUI once set and is often different than the display name.

This makes it easy to have models where less important fields appear before more important fields (e.g. an attribute dropdown appearing before the layer it refers to), making the dialogs a bit confusing.

Suggested fixes :
- by default, use the inputs position (X then Y value) to determine the order rather than alphabetical order of the input
- add an "order" field to the inputs, and sort according to that field (those with no order appearing at the end)

Maybe we could also consider adding an "advanced" checkbox, for the input to be displayed as an advanced parameter.

Thanks !

Also available in: Atom PDF