osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.73k stars 1.03k forks source link

Units & Formats categories do not change in custom profiles #21474

Open Zirochkabila opened 6 days ago

Zirochkabila commented 6 days ago

Description

If changed Driving region, the data in the Unit of speed, Unit of volume categories do not change. Provided that a custom profile is activated (any profile that has been changed)

A complete reset of the profile settings does not help

Only a complete (clean - without data) reinstallation of OsmAnd helps.

Steps to reproduce

Menu > Settings > Select Driving profile > General settings > Driving region

Actual result

After a complete reset of the profile settings or without them, the result is the same

Expected result

After a full reinstallation

https://github.com/user-attachments/assets/2ee03635-4a21-4530-aa2e-6aa13e0c79e0

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version: OsmAnd~ 5.0.0#3834m, Released: 2024-11-28
Android/iOS version: Android 14
Device model:
Crash-Logs: ?
yuriiurshuliak commented 2 days ago

The bug has been reproduced. Here are the steps used to reproduce it:

  1. Select a car profile where Europe is set as the Driving Region by default.
  2. Navigate to Menu > Settings > Select Driving profile > General settings > Driving region.
  3. Change the Driving Region from Europe to USA.

Observed Result:
The Units of speed and Units of volume categories in the profile settings remain unchanged, still reflecting European units (e.g., kilometers per hour and liters), instead of switching to USA units (e.g., miles per hour and gallons).

OsmAnd~ 5.0.0#3859m, released: 2024-12-02

https://github.com/user-attachments/assets/37d10867-47d4-437e-858d-6c16dbc3793a