osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.32k stars 980 forks source link

Side effect while track appearance change #19885

Open Velomeloman opened 2 weeks ago

Velomeloman commented 2 weeks ago

Description

When changing the color of a track, all displayed tracks temporarily acquire the color type property of the selected color type.

Steps to reproduce

https://github.com/osmandapp/OsmAnd/assets/109347561/65edb0ff-c601-4162-b667-9e61cbdff627

Example 1. 1) Open several tracks 2) Select one track 3) Open Appearance menu 4) Change Color from current to any another type (e.g. Surface)

All tracks displayed will be shown with the surface color type.

5) Apply Appearance

Only selected track will be shown with the surface color type. It's correct.

Example 2. 1) Select another track with Solid color type 2) Open Appearance menu

First track with Surface type color will be shown with the Solid type color

3) Apply Appearance

First track will be shown correctly.

Actual result

Description in italics above

Expected result

Only selected track change Appearance in preview

Your Environment (required)

OsmAnd~ 4.8.0#2315m, release: 2024-05-16

yuriiurshuliak commented 2 weeks ago

The bug has been reproduced. Here's how to reproduce it:

OsmAnd~ 4.8.0#2330m, released: 2024-05-17

https://github.com/osmandapp/OsmAnd/assets/127092082/831626ac-7d3f-42d3-8b97-fe126c73111f