View Issue Details

IDProjectCategoryView StatusLast Update
0003100FSSCPHUDpublic2022-06-11 01:01
Reporterniffiwan Assigned ToMjnMixael  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionsuspended 
Product Version3.7.2 RC3 
Summary0003100: Newly created hcf files are ignored until FSO is restarted
DescriptionI found this while testing 0003099. If you save a new hcf file, it is ignored until FSO is restarted. i.e. when using the left/right arrows to change between the existing hcf files, the hud config screen does not change when the new file is selected.
Steps To ReproduceStart FSO
Enter HUD config screen
Change one gauge (e.g. throttle) to be a different color
Save the config with any name
Use the left or right arrow to cycle through all the available hcf's
Note that the new file is part of the cycle, but its contents are ignored
Leave the hud config screen via the accept button
Re-enter, cycle the hcf's and notice that the new one still isn't used
Exit FSO and restart
Now the new HCF will work correctly
TagsNo tags attached.

Activities

m_m

2014-08-25 09:58

developer   ~0016255

The cause of this behavior is within the CFile system. FSO only fills the file lists at startup and when a file is created or deleted the CFile system will not adjust the file lists accordingly.

niffiwan

2014-08-25 20:38

developer   ~0016257

OK, that makes sense. Now I wonder if there's a function to "add/append" a new file to the filelists... :)

MjnMixael

2022-06-10 18:49

manager   ~0017124

Migrated to GitHub.

https://github.com/scp-fs2open/fs2open.github.com/issues/4384

Issue History

Date Modified Username Field Change
2014-08-23 03:33 niffiwan New Issue
2014-08-25 09:58 m_m Note Added: 0016255
2014-08-25 20:38 niffiwan Note Added: 0016257
2022-06-10 18:49 MjnMixael Note Added: 0017124
2022-06-10 20:23 MjnMixael Assigned To => MjnMixael
2022-06-10 20:23 MjnMixael Status new => closed
2022-06-10 20:23 MjnMixael Resolution open => fixed
2022-06-11 01:01 Goober5000 Resolution fixed => suspended