View Issue Details

IDProjectCategoryView StatusLast Update
0002824NoesisGUIStudiopublic2023-11-08 00:05
Reportersfernandez Assigned Todfranjic  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target VersionStudio_A1 
Summary0002824: Can't remove name of an element
Description1. 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
TagsNo tags attached.
PlatformAny

Activities

dfranjic

dfranjic

2023-11-08 00:05

developer   ~0008938

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.

Issue History

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