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

Wrong line icon shown for RB 16 / RE 16 lines of DB Regio Bayern #366

Open
sebiIO opened this issue Jun 21, 2024 · 1 comment
Open

Wrong line icon shown for RB 16 / RE 16 lines of DB Regio Bayern #366

sebiIO opened this issue Jun 21, 2024 · 1 comment
Labels
enhancement Enhancement of existing stuff

Comments

@sebiIO
Copy link

sebiIO commented Jun 21, 2024

Describe the bug
Traewelldroid shows the same line icons for the RB 16 and RE 16 lines of DB Regio Bayern since they share the same line id.
The RB 16 line (München - Treuchtlinen - Nürnberg) shows the correct line icon.
The RE 16 line (Augsburg - Nürnberg) shows the wrong line icon.

HAFAS recently changed some line ids which resulted both lines getting the same id (3-800765-16).

I think the app could try to match the line names to the display names of the line-color entries if there is more than one entry for a particular line id.

To Reproduce
Steps to reproduce the behavior:

  1. Search for "Treuchtlingen" station (or any other station where both lines run).
  2. Search for departures to "München Hbf" and "Augsburg Hbf".
  3. Notice that both departures have the RB 16 line icon (which the "Augsburg Hbf" one should not).

Expected behavior
The RE 16 line should show it's correct line icon.

Screenshots
image

Smartphone (please complete the following information):

  • Device: Google Pixel 4a
  • OS: Android 13
  • Version: v2.7.5-play
@sebiIO sebiIO added the bug Something isn't working label Jun 21, 2024
@jheubuch jheubuch added enhancement Enhancement of existing stuff and removed bug Something isn't working labels Jun 28, 2024
@jheubuch
Copy link
Collaborator

Technically, it's not a bug since there is the correct line icon for the correct line id displayed. I will think about how I (hopefully) can fix that but I can't promise anything.

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

No branches or pull requests

2 participants