[GRASS-dev] NVIZ broken in GRASS 7.0 RC2

I just compiled RC2 today for the Mac.

The NVIZ control panels have been redesigned to use staticbox containers. But these have not been defined in the correct order with their contents. So mouse clicks do not register. This is probably a simple fix. But I can’t post the broken binaries.

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Tue, Feb 10, 2015 at 6:50 PM, Michael Barton <Michael.Barton@asu.edu>
wrote:

I just compiled RC2 today for the Mac.

The NVIZ control panels have been redesigned to use staticbox
containers. But these have not been defined in the correct order with their
contents. So mouse clicks do not register. This is probably a simple fix.
But I can’t post the broken binaries.

I don't understand, there has been no such change. But I suspect this one
http://trac.osgeo.org/grass/changeset/64299/grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py
you can try to see if this is the revision when it stopped working. I will
try to get access to a Mac to fix it.

Anna

Michael
           ____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Maybe. I just looked at the code and I agree that it looks OK.

The problem seems to be somewhere in

def _createSurfacePage(self, parent):

The ‘selection’ (map selection for surfaces) part seems fine and it is possible to select a map. But the remaining widgets don’t work (e.g. ‘draw’, ‘mode’, etc).

The change sets you reference are not in the section where the SurfacePage and its controls are defined. Hopefully, these have something to do with with it anyway and you can find out what is the problem.

Michael

···

On Tue, Feb 10, 2015 at 6:50 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

I just compiled RC2 today for the Mac.

The NVIZ control panels have been redesigned to use staticbox containers. But these have not been defined in the correct order with their contents. So mouse clicks do not register. This is probably a simple fix. But I can’t post the broken binaries.

I don’t understand, there has been no such change. But I suspect this one
http://trac.osgeo.org/grass/changeset/64299/grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py

you can try to see if this is the revision when it stopped working. I will try to get access to a Mac to fix it.

Anna

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Tue, Feb 10, 2015 at 10:46 PM, Michael Barton <Michael.Barton@asu.edu>
wrote:

Maybe. I just looked at the code and I agree that it looks OK.

The problem seems to be somewhere in

  def _createSurfacePage(self, parent):

The ‘selection’ (map selection for surfaces) part seems fine and it is
possible to select a map. But the remaining widgets don’t work (e.g.
‘draw’, ‘mode’, etc).

The change sets you reference are not in the section where the
SurfacePage and its controls are defined. Hopefully, these have something
to do with with it anyway and you can find out what is the problem.

I reverted the previous change which was fixing a problem on Windows. The
problem there is initialization, where on each system the initialization
events behave differently and I would need more time to rewrite it.
I also removed all progressbar calls on Mac in nviz, because I was getting
some recursion problems which were slowing down the gui. I don't really
have time for proper fix (if there is any).
Could you test this change (r64564), if you can see any improvement so that
I can backport it?

Anna

Michael
            ____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Feb 10, 2015, at 5:27 PM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Tue, Feb 10, 2015 at 6:50 PM, Michael Barton <Michael.Barton@asu.edu>
wrote:

I just compiled RC2 today for the Mac.

The NVIZ control panels have been redesigned to use staticbox
containers. But these have not been defined in the correct order with their
contents. So mouse clicks do not register. This is probably a simple fix.
But I can’t post the broken binaries.

I don't understand, there has been no such change. But I suspect this
one

http://trac.osgeo.org/grass/changeset/64299/grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py
you can try to see if this is the revision when it stopped working. I
will try to get access to a Mac to fix it.

Anna

Michael
        ____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu