OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
800 stars 293 forks source link

[Feat] Move Export and Copy actions from Display tab to Data tab #1192

Open wenzeslaus opened 3 years ago

wenzeslaus commented 3 years ago

Move export, pack and make a copy items from the context menu in the Display tab to the context menu in the Data tab.

Currently, the items for rasters and vectors are different and also export is kind of separate from pack. There is no need for either.

I'm suggesting that rasters and vectors (and to some extent 3D rasters) in Data tab have these new items:

where export submenu will be different for each, but Create pack can be part of the Export submenu and can be perhaps named differently.

The current Make a copy in the current mapset in Display tab is currently available only for vectors (in the same location). With this, it would be available for everything like is the case of the Copy & Paste in the Display tab.

Describe alternatives you've considered

One alternative option is to keep the items in the in Display, so they would be on both places, but making the Display menu shorter and splitting the functions to "in and out" file/data management in Data versus working with the currently active/displayed data in Display makes more sense to me.

The menu does not have to be nested and all items could be at the first level like now in Display, but nesting here makes sense for things which are used perhaps little less frequently when the result is a shorter context menu. Nesting is also a very clear way of grouping items (although you can do it with the horizontal lines in most themes).

Yet another alternative is to have Export... in menu and show a simple dialog with list of buttons one for each export function. (Kind of wizard-like, web-like, or mobile-like behavior.)

Additional context If fully implemented as proposed, this would resolve #1190.

veroandreo commented 3 years ago

I like the idea of nesting all the Export options and definitely having the same menu for raster and vector maps. I agree that the export option could be also part of the context menu in the Data tab. I would still keep these options in the Display though, where maps that I need to export are more straightforward to find (at least in my way of using GRASS).