﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
122	Properties dialog doesn't display <different> at the right times	josm@…	josm@…	"If you select two ways with different highway tags, it doesn't display <different>.

The problem is with the code in PropertiesDialog.selectionChanged (line 361):
 value.getEditor().setItem(valueCount.get(e.getKey()) != newSelection.size() ? tr(""<different>"") : e.getValue().iterator().next());

In the case above what it does is that every object has that tag (valueCount==size) so it displays the first one. 

The easiest solution may be changing newSelection.size() to e.getValue().size(). However, this loses the current behaviour that when selecting a waterway and a highway that it displays both as <different>.

Discussing this on IRC gave the following idea:
* If all objects have the same tag with the same value, display that tag/value
* If not all object have a particular tag but those that do have the same value, display that tag/value italicised.
* If different values, display <different> as now.

I would be willing to supply a patch if there is interest in the latter solution (assuming my java skills are up to it)."	defect	closed	major		Core	latest	fixed		
