Summary: | routing info sometimes not shown | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Michi <woskimi> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | nienhueser |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
a testcase
screenshot |
Description
Michi
2012-06-03 16:25:04 UTC
Created attachment 71542 [details]
a testcase
Which routing backends were enabled? I guess Yours was among them. It doesn't handle via points yet, and in the current version ignores them and calculates the route between the very first and the very last point instead. Hence you get a route that does not travel the via points, but is shorter in total. In that case Marble prefers that route to the one from OpenRouteService and presents it as the first route in the list of alternative routes. Yours does not provide directions, therefore the table is empty. I'll commit a fix for Yours not to calculate a route when there are via points shorty. The remaining part of the bug would then be the missing painting of the route. I couldn't reproduce that yet, can you attach a screenshot? Git commit 062fee6290fc321d857664c08e9ef8d94a1f6a08 by Dennis Nienhüser. Committed on 04/06/2012 at 10:02. Pushed by nienhueser into branch 'master'. Don't ignore via points, but refuse to calculate a route instead. M +1 -1 src/plugins/runner/yours/YoursRunner.cpp http://commits.kde.org/marble/062fee6290fc321d857664c08e9ef8d94a1f6a08 Hallo Dennis, I don't think that you're describing what I have encountered. To start with, it doesn't make a difference whether I have Yours activated or not. The point is, when I hit the "Get directions" button marble tells me "1 routes found". And also the button at the bottom for choosing alternative routes shows that one choice. However, the directions are not shown anywhere, not in the list nor in the map. My guess is that it could have to do with the button change event of that bottom button. Because when I get more than 1 routing option, I can change the selection and the routing information is getting updated. Created attachment 71562 [details]
screenshot
I tried various ways to create and alter routes (mostly bike routes from OpenRouteService, also in the area you're using and altering the sample .kml you attached) but it always worked fine. How often does that happen to you? Can you describe in more detail how you compose the route (how do you select via points: button "from map", bookmark, context menu, search; how do you add new? add via button, drag and drop) The alternative route selection combo box does indeed only update when you switch to another route. That's on purpose, there's no need to recalculate the current result. Of course changing that behavior would be a workaround for the bug you describe, but I'd rather fix the original cause. Please reopen with details how to reproduce. meanwhile it also works for me |