Menu

#133 Save → Close → Reopen will add new "Default Map"

v1.7
closed-fixed
nobody
None
5
2019-01-22
2016-06-27
No

Steps how to reproduce with viking 1.6.2 (I use German UI Language):

  1. Open attached minimum track file "Standardkarten.vik", what contaied 1 Layer "Default Map" when I
    saved it
    » Unexpectedly it contains 2 Layers "Default Map" ("Standard-Karte")
  2. Save under NewName.vik → Close → Reopen
    » Unexpectedly it contains 3 Layers "Default Map" ("Standard-Karte")

So Each Save → Close → Reopen will add a new useless "Default Map".
I think the problem appears when opening the document. Source of "Standardkarten.vik" contains 1 reference "Standard-Karte" as expected, after having opened the file with viking a second "Standard-Karte" appears.

1 Attachments

Discussion

  • Rainer Bielefeld

    The behavior seems to depend on setting 'Edit → Preferences - Start - Add Default Layer Map' (Translated from German). Unchecking this one stops adding a Default Layer Mapp with every Launch, and currently I do not see any disadventage. So may be "Unchecked" should be the default setting?

     
  • Rob Norris

    Rob Norris - 2016-08-09

    Thanks for the extra information. Yes it depends on the auto added map.

    I forgot about the case of opening a .vik file via the GUI.
    It doesn't add the map when you load files via the command line.

    I have fixed it in my code (yet to upload it), as now it deletes the auto added map.

    The default will remain on, for simplicity for new users.
    'More advanced' users can turn it off.

     
  • Rob Norris

    Rob Norris - 2016-08-10
    • status: open --> pending
     
  • Rob Norris

    Rob Norris - 2019-01-22
    • status: pending --> closed-fixed
     
  • Rob Norris

    Rob Norris - 2019-01-22
    • Group: v1.6 --> v1.7
     

Log in to post a comment.

Auth0 Logo