-
Notifications
You must be signed in to change notification settings - Fork 274
Open
Labels
Description
Describe the Bug
In the Export Dialog, if the Filesystem tab is active but no Location has been chosen, clicking Export will create a screenshot based as a sibling to the working directory.
To Reproduce
- Open a campaign.
- Go to File > Export > Screenshot.
- Click Export without filling the Location field.
- Go to the working directory
- This varies based on how you run MapTool. To find it, go to Help > Gather Debug Information, then look for the
User Dir.under==== User Information ====.
- This varies based on how you run MapTool. To find it, go to Help > Gather Debug Information, then look for the
- Go one directory up.
- Look for a
*.pngfile with the same name as the working directory from (4). This is your screenshot.
Note
If MT doesn't have permission to write to the parent of the working directory, there will be an error message shown and no screenshot will be written. This repro requires permissions for the given directory.

Expected Behaviour
The export should not happen until the user pick a location.
Screenshots
No response
MapTool Info
1.18.6
Desktop
Linux Mint 22.2
Additional Context
No response