[GRASS-dev] [GRASS GIS] #2240: wxGUI: measurement tool does not show line after first click

#2240: wxGUI: measurement tool does not show line after first click
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: d.measure | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
In the current wxGUI, the measurement only shows the point of
the first click but not the line attached to the mouse cursor.
This would be helpful, though... I think it worked in the past.

The wxdigit line editor is working nice (and shows information
in the status line about position), maybe use that?

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

#2240: wxGUI: measurement tool does not show line after first click
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: d.measure | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

See also trac #2241

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

#2240: wxGUI: measurement tool does not show line after first click
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: d.measure | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Hm, I can see the line there. But it might happen that after some
combination of map display tools it disappears. Does this happen to you
with freshly opened gui?

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

#2240: wxGUI: measurement tool does not show line after first click
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: d.measure | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by neteler):

  * platform: Unspecified => Linux
  * version: svn-releasebranch70 => svn-trunk

Comment:

Replying to [comment:2 annakrat]:
> Does this happen to you with freshly opened gui?

Yes. g.gui, Load raster map, "Measure distance", no line attached after
first click.
At a second click the line is drawn between the points.

I would note that the line digitizer tool in wxdigit is much nicer since
it reports
in the map display bottom bar rather than (unexpectedly) in the command
console which
is commonly not open.

{{{
System Info
GRASS version: 7.1.svn
GRASS SVN Revision: 59549M
Build Date: 2014-04-02
Build Platform: x86_64-unknown-linux-gnu
GDAL/OGR: 1.10.1
PROJ.4: 4.8.0
GEOS: 3.4.2
SQLite: 3.8.4
Python: 2.7.5
wxPython: 2.8.12.0
Platform: Linux-3.13.6-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
}}}

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