osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.68k stars 1.02k forks source link

live updates cause duplicated features #17834

Closed quantenschaum closed 1 year ago

quantenschaum commented 1 year ago

Description

When live updates are enabled and update information is available it sometimes happens that the updated features (moved nodes) are shown twice, in the old and in the new position.

How to reproduce

Look at https://osmand.net/map#16/53.4600/6.1658 in the boating profile (nautical style). Use OsmAnd for a while until the screen shows something like this. I cannot tell what actually triggers this behaviour, but I do observe it frequently.

Screenshot_20230807-111858- Screenshot_20230807-111906-

Workaround: quit and relaunch OsmAnd or manually trigger an update of the live data and it works correctly for a while.

Actual result

Objects are rendered twice.

Expected result

Object are shown in new (updated) position only.

Environment OsmAnd Version: 4.5.9 Android version: 13 Device model: Nokia X20

vshcherb commented 1 year ago

Probably related https://github.com/osmandapp/OsmAnd/issues/14714

vshcherb commented 1 year ago

Related to https://github.com/osmandapp/OsmAnd/issues/17898

DmitryAlexei commented 1 year ago

Tested 17/08 and 08/09:

August:

September: