Opened 5 years ago

Last modified 6 months ago

#12106 new defect

Issue while adding multiple key/values with colon

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: autocomplete Cc:


First the scenery that works:

  • create any object (node, way, etc)
  • Alt+A
  • Add name=foo and Shift+Enter
  • Try to enter name again and note how JOSM properly doesn't display nor autocompletes it

The wrong scenery with colon:

  • have any object
  • Alt+A
  • Add addr:city=foo and Shift+Enter
  • Start to type addr: and note how it displays addr:city again

Any key with colon have the same behavior.
It should not display and autocomplete already entered keys (ie, we should have the first behavior).


Revision: 9015
Repository Root:
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-11-16 03:23:57 +0100 (Mon, 16 Nov 2015)
Build-Date: 2015-11-16 02:34:08
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 9015

Identification: JOSM/1.5 (9015 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 591 MB / 9102 MB (265 MB allocated, but free)
Java version: 1.8.0_72-internal, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

- Create_grid_of_ways (31603)
- OpeningHoursEditor (31696)
- PicLayer (31694)
- RoadSigns (31694)
- SimplifyArea (31694)
- apache-commons (31718)
- buildings_tools (31694)
- conflation (0.1.8)
- contourmerge (1014)
- download_along (31603)
- editgpx (31603)
- ejml (31756)
- geotools (31755)
- imagery_offset_db (31694)
- importvec (31694)
- jts (31603)
- log4j (31603)
- measurement (31694)
- merge-overlap (31732)
- opendata (31695)
- pbf (31694)
- pdfimport (31694)
- poly (31694)
- reverter (31694)
- scripting (30722)
- todo (29154)
- turnrestrictions (31694)
- undelete (31603)
- utilsplugin2 (31694)

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by Klumbumbus

For me it autocompletes to addr:country after adding addr:city

comment:2 Changed 5 years ago by mdk

I can reproduce the problem.

@Klumbumbus: autocomplite "learns" what you are using. Try:

  • have any object
  • Alt+A
  • type addr:
  • select what ever is suggested as key (in your case this may be addr:country)
  • set value to foo and Shift+Enter
  • start to type addr: again and note how it displays the same key already used before


add as long addr:city=whatever you want to other objects until autocomplete suggest addr:city when you type addr:.

comment:3 Changed 5 years ago by Klumbumbus

Sorry, the problem was that I didn't use Shift+Enter, but only Enter and reopend the dialog.

So, I see the same behavior, However this problem appears to me also for keys without :,

comment:4 Changed 6 months ago by simon04

Keywords: autocomplete added

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to naoliv
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.