Modify

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

r3377

Attachments (1)

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

Download all attachments as: .zip

Change History (12)

comment:1 Changed 3 years ago by jttt

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 follow-up: 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

r3386

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.

  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 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

  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

Changed 3 years ago by skyper

osm-file

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 [3401]) Fix #5255 filter: wrong info about the amount of filtered objects.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.