Modify ↓
Opened 21 months ago
#22912 new defect
Text editor has strange undo/redo behavior
Reported by: | tguen | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: | tguen |
Description
What steps will reproduce the problem?
- click the Add button on the tags panel
- type "asdf" in the key field
- press ctrl+z until the text box stops changing
What is the expected result?
"asdf"->"asd"->"as"->"a"->""
What happens instead?
"asdf"->""->"asdf"->"asd"->""->"asd"->"as"->"ascent"->""->"as"->""->"ascent"->""->"as"->"a"->"access"->""->"a"->""->"access"->""->"a"->""
Please provide any additional information below. Attach a screenshot if possible.
Obviously autocompleted text is being pushed to the undo stack, not sure why the blanks and duplicates are there though.
This doesn't apply only to the tag editor. You can see similar behavior in the find dialog for example.
Revision:18715 Is-Local-Build:true Build-Date:2023-04-29 13:48:46 Identification: JOSM/1.5 (18715 SVN en) Linux Arch Linux Memory Usage: 371 MB / 3936 MB (225 MB allocated, but free) Java version: 11.0.18+10, Oracle Corporation, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 3840×2160 (scaling 1.00×1.00) Maximum Screen Size: 3840×2160 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: ANSI_X3.4-1968 System property sun.jnu.encoding: ANSI_X3.4-1968 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: KDE VM arguments: [-Dawt.useSystemAAFontSettings=on] Plugins: + apache-commons (36034) + ejml (35924) + geotools (36068) + jackson (36034) + jaxb (35952) + jts (36004) + opendata (36076) + utilsplugin2 (36011) cache.capabilities1637351842=1682802755 cache.motd.html=1682802754 cache.motd.html.java=11.0.18 cache.motd.html.lang=En: cache.motd.html.version=18715 changesetdialog.lastHeight=0 commandstack.lastHeight=0 conflict.lastHeight=0 draw.rawgps.lines=-1 filter.lastHeight=0 gui.geometry=x=526,y=329,width=1479,height=1189 imagery.entries=[{max-zoom=22, min-zoom=1, noTileHeaders={"X-VE-Tile-Info":["no-tile"]}, noTileChecksums={"MD5":["c13269481c73de6e18589f9fbc3bdf7e"]}, metadataHeaders={"X-VE-TILEMETA-CaptureDatesRange":"Capture Date"}, transparent=true, minimumTileExpire=3600, name=Bing aerial imagery, id=Bing, type=bing, url=https://www.bing.com/maps/, permission-reference-url=https://wiki.openstreetmap.org/wiki/Bing_Maps, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileHeaders={"Etag":["\"10i954m13i2\""]}, noTileChecksums={"MD5":["f27d9de7f80c13501f470595e327aa6d"]}, transparent=true, minimumTileExpire=3600, name=Esri World Imagery, id=EsriWorldImagery, type=tms, url=https://{switch:services,server}.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/Esri, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo}, {max-zoom=22, transparent=true, minimumTileExpire=3600, name=Esri World Imagery (Clarity) Beta, id=EsriWorldImageryClarity, type=tms, url=https://clarity.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/Esri, permission-reference-url=https://github.com/osmlab/editor-layer-index/pull/358#issuecomment-361416110, cookies=, icon=data:image/png;base64,iVBORw0..., description=Esri archive imagery that may be clearer and more accurate than the default layer., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileHeaders={"ETag":["\"336b022ed883bc72347a637634e490d4\"|\"067736a547cafe90014b4e59b6510abe\"|\"ee1f6802b0234046b553cbbc672ac7d9\"|\"9f5a2f1d7cc131e58befc2052c71c827\""]}, noTileChecksums={"MD5":["58e78313d04adf0ea64b8de8590c3d46"]}, transparent=true, minimumTileExpire=3600, name=Mapbox Satellite, id=Mapbox, type=tms, url=https://{switch:a,b,c,d}.tiles.mapbox.com/v4/mapbox.satellite/{zoom}/{x}/{y}.jpg?access_token={apikey}, attribution-text=Terms & Feedback, attribution-url=https://www.mapbox.com/about/maps/, permission-reference-url=https://wiki.openstreetmap.org/wiki/Vertical_Aerial_Photographs#DigitalGlobe_.2F_MapBox, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileChecksums={"MD5":["08d6916814b216570e5241732c41d5e5"]}, valid-georeference=true, transparent=true, minimumTileExpire=3600, name=Maxar Premium Imagery, id=Maxar-Premium, type=tms, url=https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService@EPSG:3857@jpg/{zoom}/{x}/{-y}.jpg?connectId={apikey}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/DigitalGlobe, cookies=, icon=data:image/png;base64,iVBORw0..., description=Maxar Premium is a mosaic composed of Maxar basemap with select regions filled with +Vivid or custom area of interest imagery, 50cm resolution or better, and refreshed more frequently with ongoing updates., customHttpHeaders={}, category=photo}, {max-zoom=19, valid-georeference=true, modTileFeatures=true, transparent=true, minimumTileExpire=3600, name=OpenStreetMap Carto (Standard), id=standard, type=tms, url=https://tile.openstreetmap.org/{zoom}/{x}/{y}.png, attribution-text=© OpenStreetMap contributors, attribution-url=https://www.openstreetmap.org/, permission-reference-url=https://wiki.osmfoundation.org/wiki/Terms_of_Use, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=osmbasedmap} ] imagery.layers.default=[Bing, EsriWorldImagery, EsriWorldImageryClarity, Mapbox, Maxar-Premium, standard] josm.version=18715 lastDirectory=/aux/1/osm layerlist.lastHeight=150 mappaint.renderer-class-name=org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer mappaint.style.known-defaults=[resource://styles/standard/elemstyles.mapcss, resource://styles/standard/potlatch2.mapcss] mapstyle.lastHeight=0 minimap.lastHeight=0 mirror.<josm.cache>/images.https://josm.openstreetmap.de/raw-attachment/wiki/Maps/USA%20Country/TIGER2017RoadsOverlay.png=[1662510265682, <josm.cache>/images/mirror_https___josm.openstreetmap.de_raw-attachment_wiki_Maps_USA_20Country_TIGER2017RoadsOverlay.png] mirror.<josm.cache>/images.https://osmlab.github.io/editor-layer-index/sources/north-america/us/TIGER2017RoadsOverlay.png=[1662510265902, <josm.cache>/images/mirror_https___osmlab.github.io_editor-layer-index_sources_north-america_us_TIGER2017RoadsOverlay.png] mirror.<josm.cache>/images.https://www.fs.usda.gov/sites/all/themes/fs_hq/images/usfslogo.png=[1662510265004, <josm.cache>/images/mirror_https___www.fs.usda.gov_sites_all_themes_fs_hq_images_usfslogo.png] mirror.https://josm.openstreetmap.de/maps=[1682802756483, <josm.cache>/mirror_https___josm.openstreetmap.de_maps] mirror.https://josm.openstreetmap.de/remote/geofabrik-index-v1-nogeom.json=[1682802755024, <josm.cache>/mirror_https___josm.openstreetmap.de_remote_geofabrik-index-v1-nogeom.json] notes/note_open.lastHeight=0 o24.png.lastHeight=0 org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry=x=930,y=364,width=800,height=712 pluginmanager.lastupdate=1682802753376 pluginmanager.version=18715 plugins=[apache-commons, ejml, geotools, jackson, jaxb, jts, opendata, utilsplugin2] preferences.reset.draw.rawgps.lines=true propertiesdialog.lastHeight=442 relationlist.lastHeight=20 relationlist.minimized=true selectionlist.lastHeight=189 userlist.lastHeight=0 validated.ipv6=true validator.lastHeight=0
Attachments (0)
Note:
See TracTickets
for help on using tickets.