View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002824 | NoesisGUI | Studio | public | 2023-11-07 20:31 | 2023-11-08 00:05 |
Reporter | sfernandez | Assigned To | dfranjic | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Target Version | Studio_A1 | ||||
Summary | 0002824: Can't remove name of an element | ||||
Description | 1. Select an element in the viewport or Navigator 2. Assign it a name via double-clicking in the element in the Navigator, or by editing the Name in the top of the Properties panel 3. Edit the name again 4. Try clearing the name, it should remove the x:Name but it just returns to the latest name applied | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
Seems like that functionality wasn't even implemented. Should be fixed with r12933. Though, it's currently only removing the Name and unregistering the element from NameScope. What it should also do is remove the name occurrence from all parts of the XAML code (like if animation, trigger, even a property binding, etc... is targeting the object). I'd put this functionality in a reusable part of code (such as a separate XamlUndoRedoCommand) so it can also be used when, for example, removing an element (within RemoveElementCommand) and in similar situations. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-07 20:31 | sfernandez | New Issue | |
2023-11-07 20:31 | sfernandez | Assigned To | => dfranjic |
2023-11-07 20:31 | sfernandez | Status | new => assigned |
2023-11-07 20:31 | sfernandez | Target Version | => Studio_A1 |
2023-11-08 00:05 | dfranjic | Status | assigned => resolved |
2023-11-08 00:05 | dfranjic | Resolution | open => fixed |
2023-11-08 00:05 | dfranjic | Note Added: 0008938 |