View Issue Details

IDProjectCategoryView StatusLast Update
0009040Dwarf FortressTechnical -- Renderingpublic2015-08-06 11:07
Reporterlethosor Assigned Tolethosor  
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
PlatformOS X, Linux 
Product Version0.40.24 
Summary0009040: data/art/icon.png missing; DF has no custom run-time icon (except on Windows)
DescriptionOn startup, there is a call to IMG_Load("data/art/icon.png"), which fails (because that file doesn't exist) and returns a null surface, causing DF's run-time icon to default to the OS default (which is a blank file icon on OS X and varies on Linux distros).
Steps To ReproduceLaunch DF

If you copy, say, data/art/mouse.png to data/art/icon.png, DF will use the mouse icon (an axe) as the run-time icon on the next launch.
Additional InformationOn Windows, there's another icon that's used at runtime (presumably compiled into the executable somehow), but data/art/icon.png will be used instead if it exists.

This presumably goes back to the earliest SDL versions of DF. Legacy builds, being Windows-only, are not affected (and the 0.40.24 legacy Windows executable doesn't reference icon.png at all).
TagsProbable Quick Fix, SDL-only

Activities

There are no notes attached to this issue.

Add Note

Note

Issue History

Date Modified Username Field Change
2015-08-06 11:07 lethosor New Issue
2015-08-06 11:07 lethosor Status new => assigned
2015-08-06 11:07 lethosor Assigned To => lethosor
2015-08-06 11:07 lethosor Status assigned => confirmed
2015-08-06 11:07 lethosor Tag Attached: Probable Quick Fix
2015-08-06 11:07 lethosor Tag Attached: SDL-only