[GRASS-dev] [GRASS GIS] #2523: wxGUI digitiser - GRASS 7.0.0beta4

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: dititizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
Problem encountered in wxgui digitiser:

GRASS 7.0.0beta4 - binaries and frameworks from Michael Barton's site

Mac OS X 10.10.1 (14B25)

- Location nc_spm_08_grass7

Select layer roadsmajor in Layer Manager Window (previously copied to
user1 from PERMANENT)

Switch to Map Display window

- The roadsmajor map is displayed

Switch from 2D view to Digitize

- Note that the Quit Digitizer Icon is missing

Select layer roadsmajor to Digitize

- Map roadsmajor disappears from Map Display

Switch to Layer Manager, untick and retick Roadsmajor

- Map roadsmajor reappears

Switch to Map Display Window

- Actions on the digitiser palette result in 'Message: No vector map
selected for editing'

Selecting the option New vector map brings in the Quit Digitizer icon,
but other problems persist.

This problem was not experienced in GRASS 7.1.svn (r61255M)

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
Changes (by jeir):

  * keywords: dititizer => digitizer

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by annakrat):

Could you try newer version of GRASS 70, it might be fixed there.

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by jeir):

Tried Michael Barton's 7.1 svn:
GRASS 7.1.svn (r63881M)

Select Vector digitizer option in Map Display Window
Select roadsmajor as the map layer to digitize

- The Quit digitiser icon is not visible

- Succeeded in moving a vector point (after selecting snap also to vector
point and adjusting the snap distance)

Selected 2D View

- responded yes to Save changes?

Selected Vector digitizer

- Digitizer palette does not appear, switching back and forth between
Layer Manager and Map Display / selecting - deselecting roadsmajor in
Layer Manager did not bring the digitiser palette to view again. The moved
point's new position was saved.

Exit GRTAss and python, restart GRASS, repeat procedure, problem persists.

I have not compiled myself since version 6.3

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by annakrat):

Replying to [comment:3 jeir]:
> Tried Michael Barton's 7.1 svn:
> GRASS 7.1.svn (r63881M)
>
> Select Vector digitizer option in Map Display Window
> Select roadsmajor as the map layer to digitize
>
> - The Quit digitiser icon is not visible

I can see it. Do you have the window wide enough?
>
> - Succeeded in moving a vector point (after selecting snap also to
vector point and adjusting the snap distance)
>
> Selected 2D View
>
> - responded yes to Save changes?
>
> Selected Vector digitizer
>
> - Digitizer palette does not appear, switching back and forth between
Layer Manager and Map Display / selecting - deselecting roadsmajor in
Layer Manager did not bring the digitiser palette to view again. The moved
point's new position was saved.
>

Confirmed. I will try to look into that. It doesn't happen in release
branch.

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by jeir):

- increasing the window size does not help.

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by annakrat):

Replying to [comment:4 annakrat]:
> Replying to [comment:3 jeir]:
> > - Digitizer palette does not appear, switching back and forth between
Layer Manager and Map Display / selecting - deselecting roadsmajor in
Layer Manager did not bring the digitiser palette to view again. The moved
point's new position was saved.
> >
>
> Confirmed. I will try to look into that. It doesn't happen in release
branch.

Fixed in r63936. No need to backport.

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4
-----------------------+----------------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: digitizer | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by annakrat):

Replying to [comment:4 annakrat]:
> Replying to [comment:3 jeir]:
> >
> > - The Quit digitiser icon is not visible

Anyone with Mac can confirm that? I can see the icon on Ubuntu.

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4 / persists in 7.1.svn (r64690M)
-----------------------------+----------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: digitizer, .gxw | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------------+----------------------------------------------
Changes (by jeir):

  * keywords: digitizer => digitizer, .gxw
  * version: svn-releasebranch70 => svn-trunk
  * milestone: 7.0.0 => 7.1.0

Comment:

I have come across the following irregular/erratic slightly annoying
behaviour of the GRASS 7 wxgui, following up this ticket.

Environment

[Mac OS X 10.10.2]
[Mac OS X 10.7.5]
[GRASS GIS 7.1.svn (r64690M)]

---
Point 1 (Only applies to Mac OS X 10.7.5, as far as I can tell)

Open GRASS in nc_spm_08_grass7, User1

g.copy vector=roadsmajor@PERMANENT,test_roadsmajor

Add vector map layer

test_roadsmajor is displayed - On GRASS GIS 7.1.svn Map Display: 1 -
Location: nc_spm_08_grass7@user1

Select Vector digitizer on right hand button-palette

Left hand layer select button - palette has one option: New vector map

On Layer Manager window, switch to roadsmajor@PERMANENT

On Map Display Window - click on Layer select button-palette, voila:
test_roadsmajor layer is a visible option. Selecting it activates
digitizer on that map

Problem: The layer button-palette options do not get updated, when the
Add layer option is used
---
Point 2 (Applies to both Mac OS X 10.7.5 and Mac OS X 10.10.2)

Same session

Resize (enlarge) GRASS GIS 7.1.svn Map Display: 1 - Location:
nc_spm_08_grass7@user1 window

File-Workspace-Save as- _test.gxw

EXIT GRASS GIS and QUIT GRASS GIS 7.1.svn Map Display: 1 - Location:
nc_spm_08_grass7@user1

Start GRASS GIS - same location and mapset

File-Workspace-Open- _test.gxw

The GRASS GIS 7.1.svn Map Display: 1 - Location: nc_spm_08_grass7@user1
window opens up in Save as size, but the test_roadsmajor map is not zoomed
to the window size, rather it is displayed in the default display window
size. One resize of the window updates the zoom to fuill current (saved)
window size.

Problem: The map is not zoomed to window size as the Workspace file is
opened.
---
Point 3 (Applies to both Mac OS X 10.7.5 and Mac OS X 10.10.2)

After opening the Vector digitizer, the Quit digitizer button is sometimes
not visible until the window has been resized. This seems to be
independent of the size of the window at the moment the digitizer is
activated.

Problem: Lower row on the Map Display window is not updated when the
Vector digitizer is activated, even though the window is wide enough.

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

#2523: wxGUI digitiser - GRASS 7.0.0beta4 / persists in 7.1.svn (r64690M)
-----------------------------+----------------------------------------------
Reporter: jeir | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: digitizer, .gxw | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------------+----------------------------------------------

Comment(by jeir):

I add the following as it relates to the vector digitizer:

Problem: Unstable vector digitizer Undo

Location: nc_spm_08_grass7
Mapset: user1

User - Copy roadsmajor from PERMANENT as test_roadsmajor

User - Activated vector digitizer, added a few vector points - pressed
Undo button, wxgui Map Display window disappears and this message appears:

Python quit unexpectedly while using the libgrass_vector.7.1.svn.dylib
plug-in

Terminal session window after Map Display diappears:

Welcome to GRASS GIS 7.1.svn (r64690M)
GRASS GIS homepage: http://grass.osgeo.org
This version running through: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
GRASS 7.1.svn (nc_spm_08_grass7):~ > WARNING: No metadata file available

GRASS_INFO_WARNING(3065,1): Coor file of vector map
<test_roadsmajor@user1> is larger than it should be (2403 bytes excess)
GRASS_INFO_END(3065,1)

User - Responded: 1. Exit GRASS 2. Restart GRASS, same location and mapset

User - Activated vector digitizer - this message appears:

Digitizer error

Topology for vector map <test_roadsmajor is not
available. Topology is required by digitizer.
Do you want to rebuild topology (takes some time) and open the vector map
for editing?

User action: Respond Yes

Digitizer is activated, - added a few vector points, then press Undo
button on Digitizer palette, Python Map Display window quits as before.

Terminal session window after Map Display diappears now looks like this:

Welcome to GRASS GIS 7.1.svn (r64690M)
GRASS GIS homepage: http://grass.osgeo.org
This version running through: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
GRASS 7.1.svn (nc_spm_08_grass7):~ > WARNING: No metadata file available

GRASS_INFO_WARNING(3256,1): Coor file of vector map
<test_roadsmajor@user1> is larger than it should be (9508 bytes excess)
GRASS_INFO_END(3256,1)

---
With my own data, I have experienced total disappearance from mapset - of
the active map during digitization session

Other problems I have encountered, see: Ticket #2523 above

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