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

Waypoint Selection Dialog allows *.XCM file to be chosen? #1376

Open
paynterf opened this issue Mar 10, 2024 · 2 comments
Open

Waypoint Selection Dialog allows *.XCM file to be chosen? #1376

paynterf opened this issue Mar 10, 2024 · 2 comments
Labels

Comments

@paynterf
Copy link
Contributor

XCSoar versions having and not having the problem

XCSoar v7.42-Linux~git#010af8a728
No information - above version is only one I have used

System information

Dell Precision M6700 laptop, 16GB, 500GB, Debian 12 (Bookworm)

Steps to reproduce the behavior

Not sure how the .XCM file got on the list for 'TYPE', but it is selectable

Expected behavior

Only files containing valid waypoints should show on the list

Actual behavior

'US_FL_CENTRAL.xcm' file available as one of the items on the list that displays when 'Type' is selected
see screenshot
Screenshot from 2024-03-09 19-31-48

Do you have any idea what may have caused this?

Not filtering the File1/File2 candidates for valid waypoint file extensions?

Do you have an idea how to solve the issue?

@lordfolken
Copy link
Contributor

lordfolken commented Mar 10, 2024

Hi paynterf

An xcm file can contain a waypoints.cup file. This is loaded when no waypoint file is configured.

The mentioned xcm file does contain a waypoints.cup file.

However it shouldnt be listed as the logic does not display any waypoints from the xcm, as soon as another waypoints file is loaded, and therefore the filter doesn't contain any items.

@paynterf
Copy link
Contributor Author

Huh - didn't know a .XCM file was a compound type. As you noted however, the code doesn't correctly parse or list the waypoints .

@lordfolken lordfolken added the bug label Mar 14, 2024
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

2 participants