View Issue Details

IDProjectCategoryView StatusLast Update
0002972NoesisGUIStudiopublic2023-12-22 16:06
Reporterdfranjic Assigned Todfranjic  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0002972: Crash when deleting a font file from a project
Description

To reproduce this, make sure that the font file is not open in the Noesis Studio and then try deleting the font.

This happens because Project::HandleFileRemove() expects the ProjectFile::GetData() to host the value of FontDocument type.
But, since the FontDocument isn't open in the Studio, ProjectFile::GetData() will return nullptr.

Clarification: the font data is needed to get the actual font family name from it (arialn.ttf -> "Arial Narrow")

PlatformAny

Activities

dfranjic

dfranjic

2023-12-22 16:06

developer   ~0009045

Fixed with r13126 by using Project::mProjectFonts list to get the font family name from a font file path.

Issue History

Date Modified Username Field Change
2023-12-22 15:41 dfranjic New Issue
2023-12-22 15:42 dfranjic Target Version => Studio_Alpha
2023-12-22 15:47 dfranjic Description Updated
2023-12-22 15:49 dfranjic Description Updated
2023-12-22 15:49 dfranjic Assigned To => dfranjic
2023-12-22 15:49 dfranjic Status new => assigned
2023-12-22 16:06 dfranjic Status assigned => resolved
2023-12-22 16:06 dfranjic Resolution open => fixed
2023-12-22 16:06 dfranjic Note Added: 0009045