ID:2689073
 
Resolved
Accessing .x and .y of a size or pos value (etc.) in embedded wingets didn't properly change the value to a number format, which caused the various formatting types like "as arg" and "as escaped" to produce incorrect results.
BYOND Version:514.1555
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 90.0.4430.212
Applies to:Dream Seeker
Status: Resolved (514.1556)

This issue has been resolved.
Descriptive Problem Summary:

When spitting out certain embedded winget values, I'm getting really strange results.

The following on-command works, indicating that my verb is correctly set up:

testbug 60

However, I get unrecognized verb args from the following:

testbug [[elem.size.x as arg]]
testbug [[elem.size.x as escaped]]

In one case, I'm getting testbug 60 as the supposed command, but something's wrong because the engine's saying it's not a valid arg.

In the other, I'm getting testbug 0,160, which is not the expected output format for size.x, or even just size.

Test environment included. Push buttons. Read output. Check the on-command of the buttons in the skin for which command is which.

http://files.byondhome.com/Ter13/UIbugs_src.zip
Lummox JR resolved issue with message:
Accessing .x and .y of a size or pos value (etc.) in embedded wingets didn't properly change the value to a number format, which caused the various formatting types like "as arg" and "as escaped" to produce incorrect results.