CSegmentButton displays values instead of segment names

  • In VSTGUI Editor, create simple CSegmentbutton with 4 segments, named 1,2,3,4
  • Assign to control tag. The underlying parameter has a step count of 4.
  • Save
  • After closing the editor, we have now 5 segments with names 0.0000, 0.2500, 0.5000, 0.7500, 1.0000.
  • After reopening the UI editor, the 5 new names have been transferred to the segment-names field.

This is clearly not the desired behaviour of CSegmentButton. It worked perfectly in previous versions of VST SDK / VSTGUI (downloaded in July 2021). The behaviour described above happens with the latest version VST SDK 3.7.7, VSTGUI 4.12.

Did I miss some new feature here?
Is there a new attribute like “display values instead of names and add another element with the maximum value”

Thank you for clarification!

Problem solved:
For CSegmentButton, use default step count=0 in parameter definition, and the problem goes away!