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

Route preparation incorectly switches to Browse map (to Light theme) instead of staying in Car (Dark theme) #4362

Open
Zirochkabila opened this issue Feb 7, 2025 · 4 comments
Labels
Milestone

Comments

@Zirochkabila
Copy link
Collaborator

Description

When building a route from a profile with a dark theme, the light theme is displayed first, and after switching between profiles, the dark theme is displayed (as it should be)

Steps to reproduce

  1. Menu > Settings > Driving > General settings > App theme > Dark
  2. Configure map > Chose Driving profile > Tap on the map > Select Track > Navigation > Go to Bicycle > Back to Driving profile

Actual result

App theme is not updated
Screen.Recording.2025-02-07.at.12.02.13.mov

Expected result

App theme is updated as when building navigation from the main profile

Your Environment

OsmAnd Version: 4.9.5.4968

@yuriiurshuliak
Copy link

The bug has been reproduced. Here are the detailed reproduction steps:

  1. Navigate to Menu > Settings > Driving > General Settings > App Theme > Dark.
  2. Select a Car profile and choose any track on the map.
  3. Press the Navigation button until the navigation context menu appears.
  4. Observe the behavior of the context menu during navigation loading.

Observed Result:
When building a route from a profile with a dark theme, the context menu initially displays in a light theme. After navigation fully loads, it switches back to the dark theme as expected.

OsmAnd 4.9.5 (4968)

IMG_6106.MP4

@vshcherb
Copy link
Member

Title is not clear

@yuriiurshuliak yuriiurshuliak changed the title App theme is not updated when building a route from this profile Light theme briefly shown when starting navigation from dark theme Feb 28, 2025
@vshcherb vshcherb changed the title Light theme briefly shown when starting navigation from dark theme Route preparation incorectly switches to Browse map (to Light theme) instead of staying in Car (Dark theme) Feb 28, 2025
@vshcherb vshcherb added this to the 5.0-iOS milestone Feb 28, 2025
@vshcherb
Copy link
Member

Looks like Android is not affected needs to be checked

@Zirochkabila
Copy link
Collaborator Author

4.9.5.4984

Incorrect display of dark themes is also used in the notification about deleting a custom profile ( it may be worth using the system notification in this case)

2025-03-01.12.01.25.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants