Modify ↓
#8703 closed defect (wontfix)
When searching for a specific way with negative id, all elements get selected
| Reported by: | coso | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | tested |
| Keywords: | negative id | Cc: |
Description
How to reproduce the bug:
- Create a new data level from menu File --> New level
- draw two distinct ways
- select a way and read its id by clicking Ctrl + i. Since it has been just created it has a negative id, let's suppose it is -7
- go to menu: Edit --> Find... and write "id:-7"
Instead of selecting just the way with id -7, JOSM selects all the ways and nodes.
Attachments (0)
Note:
See TracTickets
for help on using tickets.



This works as expected. Id searching is only intended to work with real ids. This search condition looks for id range [0-7], 0 matching in fact all new primitives with a negative id.