﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21486	Upon command to delete a geotagged image from disk, the corresponding marker sometimes is not removed from the map view	bartosomail@…	bartosomail@…	"==== What steps will reproduce the problem?
1. create a layer of geotagged images
2. click on the red bin icon (or press Ctrl+Shift+Delete) to delete one or more images
3. 

==== What is the expected result?
The image is deleted from the geotagged photo layer and from disk

==== What happens instead?
Sometimes, the marker of the deleted image remains on the map.
 

==== Please provide any additional information below. Attach a screenshot if possible.
Using the previous/next navigation buttons, the markers corresponding to the deleted images are correctly skipped, without issuing any error.
I still haven't figured out what triggers the bug, it happens often. I'm working with 360 images. When I delete several images in a row, it happens for all of them.


{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-10-26 23:06:56 +0200 (Tue, 26 Oct 2021)
Revision:18292
Build-Date:2021-10-26 21:15:54
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18292 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 2142 MB / 4068 MB (1227 MB allocated, but free)
Java version: 11.0.2+9-LTS, 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.0.0-alpha.40)
+ QuickLabel (23)
+ SimplifyArea (35640)
+ apache-commons (35524)
+ apache-http (35589)
+ editgpx (35562)
+ ejml (35458)
+ geotools (35458)
+ jna (35662)
+ jts (35458)
+ measurement (35640)
+ merge-overlap (35640)
+ photo_geotagging (35783)
+ photoadjust (35770)
+ reltoolbox (35829)
+ reverter (35732)
+ rex (53)
+ undelete (35640)

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:
- 100458.269 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288814.JPG (The system cannot find the file specified)
- 100469.578 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288817.JPG (The system cannot find the file specified)
- 100497.246 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288818.JPG (The system cannot find the file specified)
- 100499.362 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288817.JPG (The system cannot find the file specified)
- 100500.862 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288818.JPG (The system cannot find the file specified)
- 100501.877 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288819.JPG (The system cannot find the file specified)
- 100503.363 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288818.JPG (The system cannot find the file specified)
- 100503.590 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288817.JPG (The system cannot find the file specified)
- 101545.808 W: Unable to delete file C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288817.JPG
- 101551.456 E: java.io.FileNotFoundException: C:\OSM\Mapillary to be edited\OSM e Mapillary\Rifugio Rosalba\Theta V\R0288818.JPG (The system cannot find the file specified)
}}}
"	defect	closed	normal		Core image mapping	latest	duplicate	template_report, regression, javabug	
