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

Cannot set night mode for Custom Route Line Colour #21870

Open
alahmed opened this issue Feb 7, 2025 · 4 comments
Open

Cannot set night mode for Custom Route Line Colour #21870

alahmed opened this issue Feb 7, 2025 · 4 comments

Comments

@alahmed
Copy link

alahmed commented Feb 7, 2025

Description

When selecting Night mode under Settings -> Customise Route Line -> Custom, the change does not apply and the setting automatically reverts to Day mode!

Steps to reproduce

Go to Settings -> Customise Route Line
Change Colour from the drop-down list from Map Style to Custom
Change the theme from Day to Night mode
Click Apply

Actual result

Day mode under Custom colour instead of Night mode

Expected result

Night Mode after applying the change for Custom colour

Your Environment (required)

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

OsmAnd Version: 4.9.10
Android version: 13
Device model: Motorola G7

![Image](https://github.com/user-attachments/assets/727f251e-0aed-4ad9-8a72-3efb6fdb88b8)

Crash-Logs: ?
@alahmed alahmed changed the title Cannot set night mode for Custom Route Line colour Cannot set night mode for Custom Route Line Colour Feb 7, 2025
@yuriiurshuliak
Copy link

The bug has been reproduced following these steps:

  1. Reset the profile settings.
  2. Build navigation in the car profile.
  3. Navigate to the context menu: Navigation -> Settings -> Navigation Settings -> Customize Route Line -> Color.
  4. Change the color from Map Style to Custom.
  5. Select between night and day mode, choose Night, and click Apply.
  6. Return to the map where navigation is built and observe the mode.

Actual Result:
The app reverts to Day mode instead of applying the Night mode for the custom route color.

Expected Result:
Night mode should remain applied after clicking "Apply" for the custom route color.

OsmAnd~ 5.0.0#4329m, released: 2025-02-07

video_2025-02-07_16-31-57.mp4

@alahmed
Copy link
Author

alahmed commented Feb 8, 2025

The bug has been reproduced following these steps:

  1. Reset the profile settings.
  2. Build navigation in the car profile.
  3. Navigate to the context menu: Navigation -> Settings -> Navigation Settings -> Customize Route Line -> Color.
  4. Change the color from Map Style to Custom.
  5. Select between night and day mode, choose Night, and click Apply.
  6. Return to the map where navigation is built and observe the mode.

Actual Result: The app reverts to Day mode instead of applying the Night mode for the custom route color.

Expected Result: Night mode should remain applied after clicking "Apply" for the custom route color.

OsmAnd~ 5.0.0#4329m, released: 2025-02-07

video_2025-02-07_16-31-57.mp4

Thanks @yuriiurshuliak for reproducing the bug, is there a workaround that I can use to switch to dark theme during navigation? Or, I have to wait until this bug is fixed in future releases of osmand+? Again, thanks for your support.

@yuriiurshuliak
Copy link

@alahmed Have you tried these methods to enable Dark mode? Check if they work, and if not, let us know:

  • Menu → Configure profile → General settings → Appearance
  • Menu → Configure map → Map rendering → Map mode

@alahmed
Copy link
Author

alahmed commented Feb 11, 2025

@alahmed Have you tried these methods to enable Dark mode? Check if they work, and if not, let us know:

  • Menu → Configure profile → General settings → Appearance
  • Menu → Configure map → Map rendering → Map mode

Thanks @yuriiurshuliak for your response, I need to enable dark mode while navigating. And the steps you've given me don't enable dark mode during navigation. I would assume that "Customise Route Line" is the only option. I was thinking if we cannot change it using the GUI, can we change the default.render.xml config file to achieve the same result? This config file is hugs (around 12,000 lines of code) and I don't want to mess with the file without knowing what I'm doing in the first place.

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

No branches or pull requests

2 participants