View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002161 | NoesisGUI | C++ SDK | public | 2021-10-26 16:52 | 2021-11-03 13:37 |
Reporter | steveh | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1 | ||||
Target Version | 3.1.2 | Fixed in Version | 3.1.2 | ||
Summary | 0002161: {x:Null} is not a valid type for TextDecorations dependency property | ||||
Description | Hi guys, Our artists had an issue where simply checking and unchecking the Underline button in Blend caused an error to be output from Noesis. If you have a <TextBlock />, e.g: <TextBlock Text="Hello World" Foreground="Black" /> And then you click the "Underline" button in Blend, it adds the TextDecoration property: <TextBlock Text="Hello World" Foreground="Black" TextDecorations="Underline" /> If you uncheck the button, rather than removing the attribute Blend sets it to {x:Null}: <TextBlock Text="Hello World" Foreground="Black" TextDecorations="{x:Null}" /> This then causes the following error to be output from Noesis: "Null is not a valid value for property 'TextBlock.TextDecorations'." This fails our internal smoke tests as we have automated tests to ensure that there are no erors output from Noesis. The fix is to "Reset" the property in Blend to remove the attribute. Just thought I'd raise it here since Blend supports {x:Null} on TextDecorations so I thought Noesis should probably support it as well. | ||||
Steps To Reproduce | 1. Create a text block in Blend. 2. Click the "Underline" button in the Text properties in the properties panel in Blend 3. Uncheck the "Underline" button in the Text properties in the properties panel in Blend. 4. Load the file. Noesis will output an error. | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-26 16:52 | steveh | New Issue | |
2021-10-26 17:13 | jsantos | Assigned To | => sfernandez |
2021-10-26 17:13 | jsantos | Status | new => assigned |
2021-10-26 17:14 | jsantos | Target Version | => 3.1.2 |
2021-10-26 17:15 | jsantos | Note Added: 0007540 | |
2021-11-03 13:37 | sfernandez | Status | assigned => resolved |
2021-11-03 13:37 | sfernandez | Resolution | open => fixed |
2021-11-03 13:37 | sfernandez | Fixed in Version | => 3.1.2 |