Opened 9 years ago
Last modified 5 years 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: |
Description
First the scenery that works:
- create any object (node, way, etc)
Alt+A
- Add
name=foo
andShift+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
andShift+Enter
- Start to type
addr:
and note how it displaysaddr: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).
JOSM:
Revision: 9015 Repository Root: http://josm.openstreetmap.de/svn 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 URL: http://josm.openstreetmap.de/svn/trunk 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 Plugins: - 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 by , 9 years ago
comment:2 by , 9 years ago
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
andShift+Enter
- start to type
addr:
again and note how it displays the same key already used before
OR
add as long addr:city=whatever you want
to other objects until autocomplete suggest addr:city
when you type addr:
.
comment:3 by , 9 years ago
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 :
, e.g.name
.
comment:4 by , 5 years ago
Keywords: | autocomplete added |
---|
For me it autocompletes to
addr:country
after addingaddr:city