﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7317	Cycle list is different for middle-click and Alt+click	joshdoe	team	"Middle-clicking cycles through all nearby nodes and ways, but Alt+click only cycles through objects of the type already selected. The former is implemented in [source:josm/trunk/src/org/openstreetmap/josm/gui/MapStatus.java#L291 MapStatus.java], and uses {{{getAllNearest()}}} from [source:josm/trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java#L1108 NavigatableComponent.java]. The latter is implemented in [source:josm/trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java#L596 SelectAction.java] and uses {{{getNearestNodes()}}} if a node is already selected, or {{{getNearestWays()}}} if a way is already selected.

This inconsistency doesn't make sense to me. I made the trivial modification so Alt+click uses {{{getAllNearest()}}}, and it seems to work as I'd expect.

Any particular reason it was implemented this way?"	defect	reopened	normal		Core	latest		cycle select list	cmuelle8
