Modify

Opened 14 years ago

Closed 14 years ago

#5255 closed defect (fixed)

filter: wrong info about the amount of filtered objects.

Reported by: skyper Owned by: team
Priority: normal Milestone:
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

r3377

Attachments (1)

josm_bug_5255.osm (257.9 KB ) - added by skyper 14 years ago.
osm-file

Download all attachments as: .zip

Change History (12)

comment:1 by jttt, 14 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by jttt, 14 years ago

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.

in reply to:  2 comment:3 by anonymous, 14 years ago

Resolution: fixed
Status: closedreopened

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 by skyper, 14 years ago

forgot

r3386

comment:5 by anonymous, 14 years ago

Version: latesttested

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 by skyper, 14 years ago

Keywords: info added; negative removed
Summary: filter: strange info about a negative amount of filtered objects.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.

  1. (down)load some osm-data.
  2. use a filter.
  3. select an object (way).
  4. delete a tag -> the amount of filtered objects rises (100-10000 objects).

or:

  1. disable the filter.
  2. delete a tag. -> negative info about filtered objects.

r3391

comment:7 by jttt, 14 years ago

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 by bastiK, 14 years ago

Cannot reproduce either.

Please append *.osm file and give step by step description.

comment:9 by skyper, 14 years ago

  1. open file.
  2. filter for something ( I used "lcn" in revers-mode and hide filtered objects).
  3. select a way.
  4. 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.

r3399

by skyper, 14 years ago

Attachment: josm_bug_5255.osm added

osm-file

comment:10 by skyper, 14 years ago

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 by jttt, 14 years ago

Resolution: fixed
Status: reopenedclosed

(In [3401]) Fix #5255 filter: wrong info about the amount of filtered objects.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.