View Issue Details

IDProjectCategoryView StatusLast Update
0001576OpenMPTFeature Requestpublic2022-03-06 13:20
ReporterWodd Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Platformx64OSWindowsOS Version10
Product VersionOpenMPT 1.31.00.* (old testing) 
Summary0001576: Mathematical formulas for input fields
Description

I discovered that the Pattern Properties dialog allows characters other than numbers in the Rows input field. I then attempted to expand a pattern by using a multiplication operator. (I used 31 × 64.) However, I was warned that data would be lost. I am guessing that the interpretation was 31 and that the × 64 was ignored. That gave me an idea. Allow mathematical operators in that dialog so that a specific number of rows can be quickly obtained if not readily known (such as my using the expression 31 × 64, as I do not know that value off the top of my head). The function would be similar to the / 2 and * 2 buttons, except allowing for “arbitrary” values.

Tagsscripting
Has the bug occurred in previous versions?
Tested code revision (in case you know it)17064

Activities

Saga Musix

Saga Musix

2022-03-06 11:08

administrator   ~0005123

Last edited: 2022-03-06 11:09

This will be trivially possible once scripting is in place (in fact, the scripting branch already has support for this specific feature). But until then, there's no reason to incorporate a dependency on a library like muParser or Lua for a single input field.

Wodd

Wodd

2022-03-06 11:25

reporter   ~0005125

Ah
I only thought of that because I had discovered that the Rows input field in the Pattern Properties dialog accepts more than only digits (which several other number-based fields don’t).

Issue History

Date Modified Username Field Change
2022-03-06 09:34 Wodd New Issue
2022-03-06 11:07 Saga Musix Tag Attached: scripting
2022-03-06 11:08 Saga Musix Note Added: 0005123
2022-03-06 11:08 Saga Musix Priority normal => none
2022-03-06 11:09 Saga Musix Note Edited: 0005123
2022-03-06 11:25 Wodd Note Added: 0005125
2022-03-06 13:20 Saga Musix Summary Mathematical Operators => Mathematical formulas for input fields