Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracks can only be shown in all or none profiles despite toggle in "Configure map" (by profile) #19805

Open
MarioSwitch opened this issue May 7, 2024 · 4 comments
Labels
Observed Needs more clarification, feedback, or research

Comments

@MarioSwitch
Copy link
Contributor

Description

In "Configure map", all changes are applied only to the selected profile. The "Tracks" toggle applies to all profiles, so you can't show tracks only for some profiles...
I set this issue as a bug report, despite all other settings concerns only the selected profile.

Steps to reproduce

Go to "Configure map" and enable/disable "Tracks", this change is applied to all profiles.

Actual result

"Tracks" toggle in "Configure map" is synced between profiles, so you can't show tracks only in some profiles. Tracks can only be visible on all profiles, or invisible on all profiles.

Expected result

You can choose to show/hide tracks for specific profiles (not for all), using "Tracks" toggle in "Configure map".

Your Environment (required)

OsmAnd Version: 4.7.16
Android/iOS version: Android 14
Device model: Google Pixel 7
Crash-Logs: N/A

@yuriiurshuliak
Copy link

The bug has been reproduced. To reproduce this issue, follow these steps: enable displaying one track on two profiles, then disable the display of this track on one profile and check the second profile.

As a result, the track visibility setting impacts all profiles. The "Tracks" toggle in the "Configure map" settings is synchronized across profiles, preventing the ability to display tracks selectively on certain profiles.

OsmAnd~ 4.8.0#2270m, released: 2024-05-08

video_2024-05-08_18-24-01.mp4

@vshcherb vshcherb added the Observed Needs more clarification, feedback, or research label May 15, 2024
@vshcherb
Copy link
Member

Works as designed. We don't want specific Track selection for each profile

@MarioSwitch
Copy link
Contributor Author

@vshcherb Yes, but in this case, why putting a toggle for that in the profile configuration? If this behaviour is expected, we could just have Tracks selection only in the track menu 🤔 Because, the weird thing is that all toggles in "Configure Map" concerns only the selected profile except this one...

@sonora
Copy link
Member

sonora commented May 15, 2024

(...) Because, the weird thing is that all toggles in "Configure Map" concerns only the selected profile except this one...

Yes, but contrary to 'Configure profile' (which explicitly states it) there is no 'rule' that everything in 'Configure map' is profile specific.

Some configurations should rather be kept 'global' to avoid user confusion if things 'disappear', e.g. with an automated profile change like when starting a navigation. Whether the track visibility should fall under that remains to be seen, but historically we always had it as 'global', so it's not a recent bug or a regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Observed Needs more clarification, feedback, or research
Projects
None yet
Development

No branches or pull requests

4 participants