﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22584	Geotagged image window, delete from disk issue	bartosomail@…	team	"==== What steps will reproduce the problem?
1. load a layer of images, navigate to image n of the sequence
2. in the Geotagged image window, press the red recycle bin button to delete the currently shown image from disk
3. 

==== What is the expected result?

the image n is deleted from disk, and the Geotagged image window changes to shows the next image n+1

==== What happens instead?

the marker of image n on the map is still selected (it changes its color from vivid red to dark red), image n is deleted from disk, and the Geotagged image window still shows the deleted image n. 

If the user now presses the red recycle bin button again, image n+1 will be deleted from disk (which is not the image currently visualized in the Geotagged image window, and most likely not the wanted action).

==== Please provide any additional information below. Attach a screenshot if possible.

This issue could lead to unwanted unrecoverable losses of images, when a backup is not available.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-12-13 22:36:31 +0100 (Tue, 13 Dec 2022)
Revision:18616
Build-Date:2022-12-14 02:30:55
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18616 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19044)
Memory Usage: 1958 MB / 4068 MB (1131 MB allocated, but free)
Java version: 17.0.1+12-LTS-39, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 3840×2160 (scaling 2.50×2.50)
Maximum Screen Size: 3840×2160
Best cursor sizes: 16×16→64×64, 32×32→64×64
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.1.0)
+ QuickLabel (23)
+ SimplifyArea (35978)
+ apache-commons (36034)
+ apache-http (35924)
+ editgpx (35931)
+ ejml (35924)
+ geotools (36028)
+ jackson (36034)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ measurement (35978)
+ merge-overlap (35893)
+ opendata (36025)
+ photo_geotagging (35933)
+ photoadjust (36011)
+ reltoolbox (35976)
+ reverter (36043)
+ rex (53)
+ undelete (36011)
+ utilsplugin2 (36011)

Tagging presets:
+ D:\OSM\JOSM\presets\cai_josm_preset-master\cai.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Mountains&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/CH.zip
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/IT.zip

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/DestinationSignRelation&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Osmc&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1

Last errors/warnings:
- 00000.548 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.551 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
}}}
"	defect	closed	critical		Core image mapping	latest	duplicate	template_report	
