Opened 10 years ago

Last modified 10 years ago

#12153 closed defect

Changing sorting order in Tags/Memberships window and clicking in one tag, edits the wrong tag — at Initial Version

Reported by: zermes Owned by: team
Priority: critical Milestone: 15.12
Component: Core Version: tested
Keywords: template_report, Tags/Memberships, sort Cc:

Description

What steps will reproduce the problem?

  1. Open menu Windows > Tags/Memberships (Alt+Shift+P it's open by default)
  2. Select or create something with at least 2 tags
  3. Change the tag order in the Keys or Values column (must change the default order, so tags change positions, to reproduce the error)
  4. Select and edit one tag (clicking 2 times or clicking Edit button reproduce the same problem) or delete one tag

What is the expected result?

JOSM should show the selected tag in edit tag dialog, or delete the selected tag

What happens instead?

JOSM shows the wrong tag in edit tag dialog. If we try to delete the selected tag, deletes the other tag, not the selected one.

Although JOSM changes the sorting order, it deletes the tag in "defauld sort order". It's like if we change the sort order, JOSM changes the order as it is shown, but in fact, "internaly" it didn't change the order.

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

If someone doesn't pays attention, it keeps deleting or changing the wrong tags and uploads it to OSM, it's like making unintentional vandalism. Until I found what was going on I was desperate trying to edit the correct tags, specially in objects with many tags, clicking in all of them until it opened the correct edit tag dialog.

Tested in JOSM 9060 stable and 9079 develop versions, without any plug-ins installed. I use JOSM with plugins, but tried it without plug-ins too.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Revision:9060
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 en) Windows 7 64-Bit
Memory Usage: 282 MB / 3623 MB (149 MB allocated, but free)
Java version: 1.8.0_65, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

Change History (1)

by zermes, 10 years ago

Attachment: JOSM_error.png added

JOSM sorting problem in Tags/Menbership window

Note: See TracTickets for help on using tickets.