View Issue Details

IDProjectCategoryView StatusLast Update
0003135NoesisGUIStudiopublic2024-03-04 19:52
Reportermaherne Assigned Todfranjic  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003135: Cannot set a key for Style resource which uses a TargetType
Description

When a Style is created with a TargetType and no key, editing the key (to set a new key) leads to invalid XAML (the TargetType is changed to to the new value, not just the x:Key).

Steps To Reproduce

Create a Page
Go to Resources panel
Create a Style
Set the Style TargetType to a value
Delete the key contents to make it a TargetType only resource
Try to edit the key

PlatformAny

Activities

dfranjic

dfranjic

2024-03-04 19:52

developer   ~0009268

It was due to the TextEditor::RenameAllOccurrences(old key -> new key) being called even though the old key is a typename.

Issue History

Date Modified Username Field Change
2024-03-04 16:50 maherne New Issue
2024-03-04 16:50 maherne Target Version => Studio_Alpha
2024-03-04 16:51 maherne Description Updated
2024-03-04 19:49 dfranjic Assigned To => dfranjic
2024-03-04 19:49 dfranjic Status new => assigned
2024-03-04 19:52 dfranjic Status assigned => resolved
2024-03-04 19:52 dfranjic Resolution open => fixed
2024-03-04 19:52 dfranjic Note Added: 0009268