﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22689	Save as: File name extension should be adjusted when changing the file type.	Dimitri.Junker@…	team	"==== What steps will reproduce the problem?
I use  JOSM in German, so I have to translate Menutexts,...
1. Load GPX and convert it to Data plane
2. Save as
3. 

==== What is the expected result?
I want to edit a name.gpx file and save it as a gpx file.

==== What happens instead?
The preset name is name.gpx.osm and the filetype is set to osm, even after changing the filetype to gpx-Files. I would expect it to be either name.gpx or name.osm depending of the file type selected

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-01-03 21:28:24 +0100 (Tue, 03 Jan 2023)
Revision:18622
Build-Date:2023-01-04 02:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18622 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19044)
Memory Usage: 318 MB / 4082 MB (114 MB allocated, but free)
Java version: 19+36-2238, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1080×1920 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1920
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ undelete (36011)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Diving&zip=1

Last errors/warnings:
- 00000.790 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.794 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
}}}
"	enhancement	reopened	normal		Core	tested		template_report save file type name extension	
