Page MenuHomeFeedback Tracker

Can't delete presets with "space" character in file name
Feedback, NormalPublic


Whenever a preset is created in the Launcher with empty space character and then deleted through Launcher, it will show up again on the list upon next start. Clicking "Delete" next to that preset doesn't actually delete the file from %localappdata%\Arma 3 Launcher\Presets, changing preset's name also doesn't fix that. Only way to delete that preset is to manually delete the .preset2 file from the Presets directory.


Operating System
Windows 10 x64
Operating System Version
Steps To Reproduce
  1. Create a preset with space character in it's name, like
myPreset .preset2
  1. Save it, make sure the file in Presets directory also has the space character.
  2. Restart Launcher, try to delete that custom preset and either restart Launcher again or check the folder if preset2 file was deleted.

Event Timeline

honger created this task.Jan 11 2023, 12:04 PM
dedmen added a subscriber: dedmen.Jan 12 2023, 2:52 PM

Step 3 "restart" launcher is important, if launcher is not restarted after creating the preset, then deleting works fine.
test space preset.preset2 no repro
test space .preset2 repro

so its the space at the end

dedmen changed the task status from New to Feedback.Jan 12 2023, 3:04 PM

We will trim whitespace on preset creation, so you cannot create ones that end with whitespace anymore.
And also fix that deletion thing in case you somehow manually create one :D
dev branch next week