Opened 3 years ago
Closed 3 years ago
#5255 closed defect (fixed)
filter: wrong info about the amount of filtered objects.
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | tested | Keywords: | filter info |
| Cc: |
Description
I get stange negative numbers of filtered objects in the filter info. It appears after deleting a tag of an object, even without any active filter.
cu skyper
Attachments (1)
Change History (12)
comment:1 Changed 3 years ago by jttt
- Resolution set to fixed
- Status changed from new to closed
comment:2 follow-up: ↓ 3 Changed 3 years ago by jttt
I didn't get negative number of filtered objects but when I've removed tags on untagged node that was part only of relation, I got incorrect number of filtered objects. Hopefully it was the same problem.
comment:3 in reply to: ↑ 2 Changed 3 years ago by anonymous
- Resolution fixed deleted
- Status changed from closed to reopened
Replying to jttt:
I didn't get negative number of filtered objects but when I've removed tags on untagged node that was part only of relation, I got incorrect number of filtered objects. Hopefully it was the same problem.
No. I am sorry.
I still get these negative numbers. I had one filter active. I disabled it and removed a tag of a way. I get negative numbers of filtered objects even though there is no filter active.
comment:4 Changed 3 years ago by skyper
forgot
comment:5 Changed 3 years ago by anonymous
- Version changed from latest to tested
Hi,
my JOSM V3376(german) shows "filter active, 1 object hidden, close filter dialog to see all objects". But this is a wrong message, there is no filter active.
comment:6 Changed 3 years ago by skyper
- Keywords info added; negative removed
- Summary changed from filter: strange info about a negative amount of filtered objects. to filter: wrong info about the amount of filtered objects.
I can reproduce this bug now. It happens also with an active filter but than the amount rises instead of negative numbers.
- (down)load some osm-data.
- use a filter.
- select an object (way).
- delete a tag -> the amount of filtered objects rises (100-10000 objects).
or:
- disable the filter.
- delete a tag. -> negative info about filtered objects.
comment:7 Changed 3 years ago by jttt
I can't reproduce it. Can you please post area where it doesn't work and id of way from which you have removed the tag?
comment:8 Changed 3 years ago by bastiK
Cannot reproduce either.
Please append *.osm file and give step by step description.
comment:9 Changed 3 years ago by skyper
- open file.
- filter for something ( I used "lcn" in revers-mode and hide filtered objects).
- select a way.
- delete a tag.
the amount increases by more than all objects.
This works only once if you undo it and delete a tag again, nothing happens but if you disable the filter and delete a tag you get negative numbers.
comment:10 Changed 3 years ago by skyper
I used way id:42801058 , but it does not realy matter on the data. I have had this bug in many areas with different filters and on different systems without any plugins. All system where debian or based on debian with openjdk.
comment:11 Changed 3 years ago by jttt
- Resolution set to fixed
- Status changed from reopened to closed



(In [3379]) Fixed #5255 filter: strange info about a negative amount of filtered objects.