View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002494 | NoesisGUI | Unity | public | 2023-01-17 05:07 | 2023-02-20 19:30 |
| Reporter | ckfinite | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.0.12 | ||||
| Fixed in Version | 3.2.0 | ||||
| Summary | 0002494: Changing content from a DataTrigger causes a crash to desktop on destruction | ||||
| Description | Taken from a larger example, | ||||
| Platform | Any | ||||
|
I was unable to make Unity crash with latest version (3.1.7) of NoesisGUI. Anyway, setting the Header this way won't work because the <TextBlock> element can only be the child of a single MenuItem. If I create a test using that Style then I get an error message indicating that: "Child already has a logical parent". So the solution, as you already mentioned, is to use DataTemplates, that way a different visual tree for the header is generated from the template for each MenuItem. |
|
|
Yes, it's fine to close the ticket; I suspect that what was causing the crash was precisely they "has a logical parent" issue which wasn't correctly checked for in 3.0.12> Thank you for looking into it! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-01-17 05:07 | ckfinite | New Issue | |
| 2023-01-17 19:17 | sfernandez | Assigned To | => sfernandez |
| 2023-01-17 19:17 | sfernandez | Status | new => assigned |
| 2023-02-14 14:36 | sfernandez | Status | assigned => feedback |
| 2023-02-14 14:36 | sfernandez | Note Added: 0008283 | |
| 2023-02-15 15:06 | ckfinite | Note Added: 0008289 | |
| 2023-02-15 15:06 | ckfinite | Status | feedback => assigned |
| 2023-02-15 19:50 | sfernandez | Status | assigned => resolved |
| 2023-02-15 19:50 | sfernandez | Resolution | open => no change required |
| 2023-02-20 19:30 | jsantos | Fixed in Version | => 3.2.0 |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |