View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001576 | OpenMPT | Feature Request | public | 2022-03-06 09:34 | 2022-03-06 13:20 |
Reporter | Wodd | Assigned To | |||
Priority | none | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Platform | x64 | OS | Windows | OS Version | 10 |
Product Version | OpenMPT 1.31.00.* (old testing) | ||||
Summary | 0001576: 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. | ||||
Tags | scripting | ||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | 17064 | ||||
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. |
|
Ah |
|
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 |