Cycle list is different for middle-click and Alt+click
|Reported by:||joshdoe||Owned by:||team|
|Version:||latest||Keywords:||cycle select list|
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 MapStatus.java, and uses getAllNearest() from NavigatableComponent.java. The latter is implemented in 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?
Change History (14)
Changed 16 months ago by joshdoe
comment:1 follow-up: ↓ 2 Changed 16 months ago by joshdoe
- Cc cmuelle8 added
- Summary changed from Cycle list is different for middle-click and Alt+click to [patch] Cycle list is different for middle-click and Alt+click
comment:5 follow-up: ↓ 6 Changed 15 months ago by akks
comment:7 follow-up: ↓ 8 Changed 15 months ago by akks
comment:11 follow-up: ↓ 12 Changed 15 months ago by cmuelle8
- Resolution fixed deleted
- Status changed from closed to reopened
- Version set to latest