[GRASS-dev] [GRASS GIS] #2817: Adding multiple raster/vector maps is slow

#2817: Adding multiple raster/vector maps is slow
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.3
Component: wxGUI | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
I am not that familiar with the codebase and I couldn't find the exact
point where this happens, but it seems that when you try to add multiple
raster/vector maps in the GUI the maps get added one by one.

From a usability point of view, this can get quite slow when you try to
add many maps (e.g. 100+) and it can get excruciatingly slow when you have
an already rendered map because the map gets re-rendered for each and
every one map that we add.

At the very least, the re-rendering of the existing map should only be
done once; after all the maps have been added.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2817&gt;
GRASS GIS <https://grass.osgeo.org>

#2817: Adding multiple raster/vector maps is slow
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.3
Component: wxGUI | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by pmav99):

I just tried [67683] from trunk and it seems that it has been fixed. Not
sure which commit it was though.

It would be nice if it could be backported.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2817#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2817: Adding multiple raster/vector maps is slow
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.4
Component: wxGUI | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* milestone: 7.0.3 => 7.0.4

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2817#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2817: Adding multiple raster/vector maps is slow
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.4
Component: wxGUI | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

Replying to [comment:1 pmav99]:
> I just tried [67683] from trunk and it seems that it has been fixed. Not
sure which commit it was though.
>
> It would be nice if it could be backported.

Please identify the revision in which it was slow to narrow down the
change.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2817#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#2817: Adding multiple raster/vector maps is slow
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.5
Component: wxGUI | Version: unspecified
Resolution: worksforme | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* status: new => closed
* resolution: => worksforme

Comment:

No activity last 7 months, closing, feel free to reopen if needed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2817#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>