-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Describe the bug
Issue 1:
After restart, QMS may not show same view active being active at closing.
Issue 2:
When closing QMS while track editor tab is open, (for non-insiders) it is not predictable which view is active after restart.
What have you done to circle down the problem?
Issue is due to saving last active tab number instead of saving last active view's name or unique key.
After restart, tab number no longer points to last active view.
To Reproduce
See sequence of screenshots with description
Expected behavior
After QMS restart, same map view is expected to be shown as before when closing QMS, regardless of the history.
Screenshots
Issue 1 - Screenshot 1
Track Track was opened to edit from workspace,
editor tab was moved to 1st position on the left,
2nd view's Cycling tab was selected:

Issue 1 - Screenshot 2
QMS was closed and restarted,
3rd view Hiking is now set as current view:

Issue 2 - Screenshot 1
Tracks North-South and West-East were opened to edit from workspace,
editor tabs were moved as shown,
editor tab North-South was selected:

Issue 2 - Screenshot 2
While editor tab North-South was open, QMS was closed and restarted,
3rd view Hiking is now set as current view:

Attachments
Tracebacks
Desktop
- OS: any
- QMapShack Version: current
- Window Manager: -