I use the Quick Action widget to set the layer used for map overlays and underlays. The behavior of this function is correct, but the display of the current selection is not correct. The text in the Quick Action grid always shows the name of the option AFTER the one that is selected (unless the last item is selected).
For example, if my Quick Action underlays are A, B, C, and D, and I select B as the underlay, the text in the Quick Action box will say "C", not B.
This bug affects overlays, underlays, AND map styles.
Steps to reproduce
Tap on the Quick Action widget.
Tap on the "Underlay" icon.
Select any underlay except the last one.
Tap on the Quick Action widget again; the underlay that was selected is not the one shown.
Screenshots follow...
Open widget, tap on the underlay icon, and select an underlay:
The selected underlay displays:
Open widget and note the incorrect name of the underlay in the upper-right corner:
Tap on the underlay icon to see that the proper radio button is selected, despite the incorrect name in the previous step:
Actual result
The Quick Action widget does not display the name of the currently selected underlay/overlay/style, it displays the name of the following item in the list.
Expected result
The Quick Action widget should properly show the name of the selected underlay/overlay/style.
Your Environment (required)
OsmAnd Version: 4.8.5, but this issue has been occurring for _years_.
Android/iOS version: Android 12
Device model: Google Pixel 4a
Yes it displays the name of the next one. There is no option to configure however if quick action has 2 options only (on / off) it displays name of the layer
Description
I use the Quick Action widget to set the layer used for map overlays and underlays. The behavior of this function is correct, but the display of the current selection is not correct. The text in the Quick Action grid always shows the name of the option AFTER the one that is selected (unless the last item is selected).
For example, if my Quick Action underlays are A, B, C, and D, and I select B as the underlay, the text in the Quick Action box will say "C", not B.
This bug affects overlays, underlays, AND map styles.
Steps to reproduce
Screenshots follow...
Open widget, tap on the underlay icon, and select an underlay:
The selected underlay displays:
Open widget and note the incorrect name of the underlay in the upper-right corner:
Tap on the underlay icon to see that the proper radio button is selected, despite the incorrect name in the previous step:
Actual result
The Quick Action widget does not display the name of the currently selected underlay/overlay/style, it displays the name of the following item in the list.
Expected result
The Quick Action widget should properly show the name of the selected underlay/overlay/style.
Your Environment (required)