Opened 7 years ago

Closed 7 years ago

#1035 closed defect/bug (fixed)

"Search results on map" show some old search results

Reported by: antiram Owned by: tryagain
Priority: major Milestone:
Component: core Version: git master
Severity: Keywords:
Cc:

Description

Hello, "Search results on map" show some search results from previous search, eg. with german map (r5086 linux, android):

  1. actions->town->type "Reil", select "68799 Reilingen"->show all with "Reil". OK
  2. click map, select "remove search results from map". OK
  3. actions->town->type "Heidel", select "69117 Heidelberg"->show results on map: show all with "Heidel" and the old Reilingen, Reil, Reileifzen, Reilos. BUG

restart navit, next test:

  1. actions->town->type "Heidel", select "69117 Heidelberg"->show results on map: shows all with "Heidel". OK
  2. actions->town->type "Reil", select "68799 Reilingen"->show all with "Reil", eg. Reilingen, Reil, Reileifzen, Reilos. OK
  3. actions->town->type "Heidel", select "69117 Heidelberg"->show results on map: shows all with "Heidel" and the old Reilingen, Reil but not Reileifzen, Reilos. BUG

after "item_type_set(item,type_none)" console says "Item 0x123 is deleted", but its wrong. Item still exists and will accidently displayed if the map has 10 or more items or so. I reused the code from gui_internal_cmd_results_to_map for a 2nd waypoints patch to show waypoints on map. Please make sure that a deleted item will never displayed.

Change History (2)

comment:1 Changed 7 years ago by tryagain

  • Owner changed from KaZeR to tryagain
  • Status changed from new to assigned

I confirm the bug.

comment:2 Changed 7 years ago by tryagain

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

Fixed with r5088

Note: See TracTickets for help on using tickets.