Opened 10 years ago

Last modified 10 years ago

#12419 closed defect

the "add tag window" on 9563 does not work — at Version 2

Reported by: lombardo.geosystems Owned by: kolesar
Priority: major Milestone: 16.02
Component: Core Version:
Keywords: template_report, regression Cc:

Description (last modified by kolesar)

What steps will reproduce the problem?

  1. Add tags to objects to fill recently used tags over the value of properties.recently-added-tags, default value is 5.
  2. Press Add button on properties dialog.

What is the expected result?

See no more recent tags than setting.

What happens instead?

You will see more tags displayed than setting. List can grow up to 30 (maximum value of this setting) that makes dialog unusable.

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-01-22 01:47:49 +0100 (Fri, 22 Jan 2016)
Build-Date:2016-01-22 02:34:01
Revision:9563
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9563 it) Linux Ubuntu 14.04.3 LTS
Memory Usage: 709 MB / 1751 MB (109 MB allocated, but free)
Java version: 1.7.0_91-b02, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u91-2.6.3-0ubuntu0.14.04.1
VM arguments: [-Djosm.restart=true, -Djosm.home=/home/riccardo/.josm-latest, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- ShapeTools (1000)
- buildings_tools (31895)
- osmarender (31772)
- utilsplugin2 (31895)

Change History (4)

by lombardo.geosystems, 10 years ago

screenshot

by kolesar, 10 years ago

comment:1 by kolesar, 10 years ago

Math.max was used instead of Math.min comparing setting and maximum value. Attached fix.

comment:2 by kolesar, 10 years ago

Description: modified (diff)
Owner: changed from team to kolesar
Priority: normalmajor
Status: newassigned
Note: See TracTickets for help on using tickets.