Modify

Opened 9 months ago

#16112 new defect

improve relation member handling / consistency map, tags window and relation editor

Reported by: dieterdreist Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: relation editor, relation, tags window Cc:

Description

"Previously", when you opened a relation editor and then removed a way from the relation by removing it in the tags window JOSM used to create a conflict if you didn't remove the way from the relationeditor version as well (because the way was still in the copy of the relation that is in the relation editor window).

Currently the behaviour seems to be changed like this:
Delete the way from relation from the tags window, in the relation editor the way is still included, on the screen (mappaint style) the way seems still to be in the relation, in the tags window the way is not in the relation anymore.
Hit "OK" and close the relation editor (i.e. confirm the relation as it is in the relation editor).
Now the mappaint updates and if you open the relation again in the editor, the way is not there anymore (i.e. you hit ok in the relation editor and directly again open the same relation and it is different than it was).

What it should do:
when you remove an object from a relation via the tags window, it should remove them silently from all open relation editors of this relation (there is already a confirmation dialogue for the removal of the item from the relation when you go via tags window).
If you hit "OK" on the relation editor, it must put the relation to the state that is displayed in the editor.

_
to reproduce:
draw a rectangle
add it to a multipolygon relation (ctrl+b)
split the outer way in 2 ways
select one
open the relation editor for the relation
remove the object via tags window from the relation: it still is in the relation editor (but disappears if you close the editor via "ok").

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-19 22:00:20 +0100 (Mon, 19 Mar 2018)
Build-Date:2018-03-19 21:03:48
Revision:13548
Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk':
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13548 en) Mac OS X 10.13.3
OS Build number: Mac OS X 10.13.3 (17D102)
Memory Usage: 854 MB / 1820 MB (372 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 188875522 1920x1080, Display 458628992 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
+ ColorPlugin (1511895663)
+ Create_grid_of_ways (33856)
+ ImportImagePlugin (33563)
+ PicLayer (34021)
+ ShapeTools (1230)
+ apache-commons (33668)
+ buildings_tools (34040)
+ editgpx (33782)
+ ejml (32680)
+ fieldpapers (v0.4.3)
+ geochat (33982)
+ geojson (73)
+ geotools (33958)
+ imagery_offset_db (33774)
+ jts (32699)
+ log4j (32699)
+ mbtiles (a3e491d)
+ measurement (33760)
+ o5m (33566)
+ osmarender (33916)
+ pbf (33568)
+ photo_geotagging (33967)
+ reltoolbox (34087)
+ reverter (34036)
+ undelete (33980)
+ utilsplugin2 (33991)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Cannot start IPv4 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
- W: Cannot start IPv6 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
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 dieterdreist
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.