[GRASS-dev] [GRASS GIS] #497: Add keyboard shortcuts to v.digit (like pre-6-GRASS

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
-------------------------+--------------------------------------------------
Reporter: janh | Owner: grass-dev@lists.osgeo.org
     Type: enhancement | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------
In the old, pre-6 v.digit, all commands were given by keyboard shortcuts.
That took some exercise, but once you had it in your fingers (literally),
you could digitize much faster than with the present click-button
interface. I would guess it isn't all too difficult to add the old
keyboard shortcuts to the system. Any idea from the developers whether
this could be done? I still have GRASS 5.7 running for digitizing only.
Beats every other package.

Jan Hartmann

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by martinl):

* cc: grass-dev@lists.osgeo.org (added)
  * keywords: => vector digitizer, shortcuts
  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
  * milestone: 6.4.0 => 6.5.0

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by martinl):

Can you attach list of key shortcuts used in pre-6 v.digit? Thanks.

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

see the two manuals here:
  http://grass.osgeo.org/gdp/html_grass5/Postscript/

and
source:grass/branches/releasebranch_5_5/src/mapdev/v.digit/menu_defines.h@#L79

Hamish

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by martinl):

In r39911 are implemented sample hot-keys

* 'p' - digitize point
* 'l' - digitize line

Can you attached list of desired hot-keys?

hot-key - action

Thanks, Martin

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

Replying to [comment:4 martinl]:
> Can you attached list of desired hot-keys?
>
> hot-key - action

(and please use GRASS 5 hotkeys as a guide [see comment:3] when
appropriate)

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by janh):

Attached the GRASS5.4 keys (somewhat simplified, zoom added) and the way
they are ordered. I am not sure how much of this can be integrated in the
new GUI, as it is a bit unlike the usual GUI hotkeys, but IMHO it is very
systematic and clearer than any other digitizing software I have worked
with. The most used keys are in the Zoom, Edit and Label menus, but the
keys in the other menus are very useful too. Perhaps an extra menu could
be created for some of these.

Jan

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by vincent):

--'' Hoping my suggestion is not too much off topic (dealing with a
shortcut calling a temporary function)'' --

it is very convenient to be able to pan on-the-fly while digitizing large
objects. It's already possible in a way by zooming/unzooming with the
mouse wheel but not strictly panning. As an example, Qgis allows this
action by depressing the space bar ; the interest being not to be forced
to quit the editing tool for panning.

Vincent.

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
--------------------------+-------------------------------------------------
  Reporter: janh | Owner: martinl
      Type: enhancement | Status: assigned
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector digitizer, shortcuts
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by janh):

Vincent's suggestion could be implemented by way of the arrow keys,
perhaps with shift-arrow for larger panning steps.

Jan

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

#497: Add keyboard shortcuts to v.digit (like pre-6-GRASS
-----------------------------------------+----------------------------------
Reporter: janh | Owner: martinl
     Type: enhancement | Status: assigned
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: vector digitizer, shortcuts | Platform: All
      Cpu: All |
-----------------------------------------+----------------------------------

Comment(by hamish):

see also keybinding specifications for wxPsMap in:
  source:grass/trunk/gui/wxpython/xml/menudata_psmap.xml

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