Skip to content

QMS "freezing" on restart due to project containing long distance route #917

@JFritzle

Description

@JFritzle

Describe the bug

When restarting QMS after having created a long distance route with router,

  • QMS may be unresponsive and seems frozen for a long time
    (using my example project in my environment more than 60 seconds!)
  • QMS may show unsuitable message during that time,
    leaving the user unclear about what is currently going on or if something is still going on at all

What have you done to circle down the problem?

To Reproduce

  1. Import attached GPX example file From Hamburg to Munich.gpx
  2. Calculate route using BRouter with profile car-eco and alternative original
  3. Close QMS
  4. Restart QMS
  5. See issue described above

Expected behavior

At least, I had expected that QMS message window shows a suitable message telling what is going on.

At best, I had expected that QMS does not only save route's endpoints and recalculate route at restart. But saves calcaluted route at closing QMS making recalculation unnecessary at restart.

Screenshots

Screenshot taken after restarting QMS while app is unresponsive and seems to be frozen for a long time ...
Image
... pretending that tile server (in my case local Mapsforge tile server) is unresponsive not sending requested tiles.

Screenshot taken quite a long time later after QMS has become responsive ...
Image
... showing that frozen state was not due to an unresponsive tile server but due to recalculating long distance route at restart.

Attachments

From Hamburg to Munich.zip

Tracebacks

Desktop

  • OS: at least Windows
  • QMapShack Version: at least current version 1.19.0
  • Window Manager: -

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions