Opened 5 years ago

Last modified 20 months ago

#2523 new defect

wxGUI digitiser - GRASS 7.0.0beta4 / persists in 7.1.svn (r64690M)

Reported by: jeir Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: wxGUI Version: svn-trunk
Keywords: digitizer, .gxw Cc:
CPU: OSX/Intel Platform: MacOSX

Description

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)

Change History (16)

comment:1 Changed 5 years ago by jeir

Keywords: digitizer added; dititizer removed

comment:2 Changed 5 years ago by annakrat

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

comment:3 Changed 5 years ago 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

comment:4 in reply to:  3 ; Changed 5 years ago by annakrat

Replying to 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.

comment:5 Changed 5 years ago by jeir

  • increasing the window size does not help.

comment:6 in reply to:  4 Changed 5 years ago by annakrat

Replying to annakrat:

Replying to 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.

comment:7 in reply to:  4 Changed 5 years ago by annakrat

Replying to annakrat:

Replying to jeir:

  • The Quit digitiser icon is not visible

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

comment:8 Changed 5 years ago by jeir

Keywords: .gxw added
Milestone: 7.0.07.1.0
Summary: wxGUI digitiser - GRASS 7.0.0beta4wxGUI digitiser - GRASS 7.0.0beta4 / persists in 7.1.svn (r64690M)
Version: svn-releasebranch70svn-trunk

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.

comment:9 Changed 5 years ago 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

comment:10 Changed 4 years ago by neteler

Milestone: 7.1.07.2.0

Milestone renamed

comment:11 Changed 3 years ago by neteler

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:12 Changed 3 years ago by martinl

Milestone: 7.2.17.2.2

comment:13 Changed 2 years ago by martinl

Still the issue?

comment:14 Changed 2 years ago by neteler

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:15 Changed 20 months ago by martinl

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:16 Changed 20 months ago by martinl

Milestone: 7.2.4
Note: See TracTickets for help on using tickets.