osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.59k stars 1.01k forks source link

New Quick-Action option: Switch Terrain Colour Scheme (#18169) - Not showing Slope #20786

Closed AndyB69 closed 3 days ago

AndyB69 commented 1 week ago

Description

The abilitu to add a new Quick-Action option: Switch Terrain Colour Scheme, #18169, was delivered in 4.8. But when I add that quick-action, with sub-menu options of "Hill Shade" and "Slope", no matter which I pick it only shows hill shade.

Steps to reproduce

  1. Add quick action button --> Configure Map --> Change Terrain color scheme
  2. Add sub-menu items Hill Shade, Slope.
  3. It does not matter if you click "Interim dialog" - same problem either way.
  4. Apply.
  5. In map, choose quick action Terrain color scheme - no matter which option I pick, it only shows Hill Shade.

Actual result

Between Hillshade and Slope, it only ever shows Hillshade.

Expected result

It should show Slope if that has been toggled.

Your Environment (required)

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

OsmAnd Version: 4.8.6
Android/iOS version: 14
Device model: Google pixel 5.
Crash-Logs: n/a
yuriiurshuliak commented 1 week ago

The bug was not reproduced. To reproduce it, I added a quick action button to change the terrain color scheme from the sub-menu items HillShade and Slope by enabling the "Interim dialog" function.

As a result, after clicking on the quick action button, the map updates according to the selection from the sub-menu items, either HillShade or Slope.

I've attached a video below. If there's something I missed or if the behavior seems off, please let me know so I can attempt to reproduce the issue. Also, you can attach a short video demonstrating the problem for better clarity.

OsmAnd~ 4.9.0#3148m, released: 2024-09-09

https://github.com/user-attachments/assets/cbbecbfa-a05b-4b25-8f16-592ffba7ebee