[GRASS-dev] GSoC 2021: Week 2: First steps towards a new GRASS GIS Single-Window GUI

Hello everyone,

I am sending my Week 2 report (June 14 - June 20), you can also find it in the project wiki: https://trac.osgeo.org/grass/wiki/GSoC/2021/SingleWindowLayout#Week2.

What did I complete during the second week?
I focused on the GUI refactoring. In order to add Map Display to the notebook widget, we need to have it in the form of wx.Panel. I divided the work into several steps:- I changed the way of creating the Map Display status bar (which is now independent of the parent widget) [1]. However, this PR caused the bug related to the workspace saving [2] which I corrected ASAP [3].

  • Meantime, I started more complex PR changing the way the Map Display is built (see [4]). The core lies in adding the intermediate wx.Panel widget. This PR aims at more general Map Display refactoring, do not change the code in the Single-Window parallel environment - adapting the S-W GUI is planned to be another step forward.

What am I going to achieve for next week?

  • I plan to finish the refactoring of Map Display related stuff (see [4]) and utilize it in the Single-Window GUI environment. It will lead to a new Map Display notebook widget (composed of wx.Panel Map Displays). This notebook will be then used as the content pane.
    Is there any blocking issue?
    No, it is not.

[1] https://github.com/OSGeo/grass/pull/1646

[2] https://github.com/OSGeo/grass/issues/1657

[3] https://github.com/OSGeo/grass/pull/1665

[4] ​https://github.com/OSGeo/grass/pull/1656

Any suggestions are welcome. :slight_smile:

Best wishes,

Linda Kladivova