merkaartor icon indicating copy to clipboard operation
merkaartor copied to clipboard

File menu reorganization

Open Krakonos opened this issue 8 years ago • 1 comments

Currently, in "File" menu, there are these options:

  • New
  • Open (Mostly the same as New & Import)
  • Import
  • Recent open
  • Recent import

I'd love to change it, with two goals:

  • Simplify project work
  • Move GDAL out of default open/import procedure.

The simplification isn't much, but: if you're opening files, some of them are parsed & imported by Merkaartor itself (gpx, nmea, osm, mdc, and some others). If that can't be done, GDAL is invoked.

This has some advantages, as you can open almost anything using GDAL. The problem is, sometimes GDAL crashes, or returns a dataset Merkaartor does not know what to do with (it isn't that intelligent).

I'd like to split this out into separate option, so we can differentiate easily between importing using GDAL and native code. The other benefit would be that in case merkaartor's code can't import some type of file correctly (I recently fixed bug in nmea), you can always try your luck with GDAL.

The menu could be refactored as:

  • New project
  • Open project
  • Import files (or "Add to project"?)
  • Import using GDAL
  • Recently opened/imported (with list of all together, listing the method and type used)

I might also move "Import files" into toolbar, possibly replacing "Save" (anyone can modify it, toolbars are user-customizable).

Ideas? Tell me what you think and what would you like to see!

Krakonos avatar Jan 07 '16 20:01 Krakonos

I would keep the Save button on toolbar until the autosave feature gets implemented. At least for me it works as a reminder to do occasional saves just in case. After autosave implementation save can be moved to File menu.

RM87 avatar Jan 09 '16 14:01 RM87