﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21584	Delete key only works every second time in the ToDo plugin	nkamapper	taylor.smock	"==== What steps will reproduce the problem?
1. Add a number of map elements to the To-do window
2. Click Mark button in the To-do window
3. Press Delete button on keyboard
4.. Press Next and repeat 2-3 with the next items in the To-do window

==== What is the expected result?
Each item should be deleted when the Delete key is pressed

==== What happens instead?
Only every second item is deleted, i.e. the Delete key works every second time Next is pressed in the ToDo-window.

==== Please provide any additional information below. Attach a screenshot if possible.
The various items are displayed in the Selection window as the single element after each Mark.
Selecting the Delete function in the Edit menu works, but not the Delete button on the keyboard.
This has been a problem for a few years.
Tested on Mac.

{{{
Revision:18193
Build-Date:2021-09-05 16:25:52

Identification: JOSM/1.5 (18193 en_GB) Mac OS X 10.13.6
OS Build number: Mac OS X 10.13.6 (17G14042)
Memory Usage: 486 MB / 4096 MB (83 MB allocated, but free)
Java version: 16.0.2+7, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69676352 2560×1440 (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18193, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM]

Plugins:
+ Mapillary (2.0.0-alpha.36-dirty)
+ PicLayer (1.0.1)
+ SeaChart (35840)
+ apache-commons (35524)
+ apache-http (35589)
+ conflation (0.6.6)
+ ejml (35458)
+ geotools (35458)
+ imagery-xml-bounds (35723)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ opendata (35803)
+ pdfimport (35640)
+ reverter (35846)
+ tageditor (35640)
+ todo (30306)
+ turnlanes (35812)
+ turnlanes-tagging (288)
+ turnrestrictions (35640)
+ utilsplugin2 (35856)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/INT1_Seamark.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- http://osm.wzh.be/josm/different_buildings/different_buildings.mapcss
}}}
"	defect	new	normal		Plugin todo			template_report	
