[GRASS-dev] [GRASS GIS] #3502: v.proj location not set in dialog

GRASS GIS trac at osgeo.org
Fri Mar 30 11:25:29 PDT 2018


#3502: v.proj location not set in dialog
------------------------+-----------------------------
  Reporter:  balagates  |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.2.4
 Component:  wxGUI      |    Version:  7.4.0
Resolution:             |   Keywords:  v.proj location
       CPU:  OSX/Intel  |   Platform:  MacOSX
------------------------+-----------------------------

Comment (by balagates):

 I believe I found what caused this change.  In
 ./gui/wxpython/gui_core/forms.py 7.2.2 (71322) vs 7.4.0 (71217)
 {{{
                         elif prompt == 'location':
                             win =
 gselect.LocationSelect(parent=which_panel,
                                                          value=value)
                             win.Bind(wx.EVT_COMBOBOX,
 self.OnUpdateSelection)
                             win.Bind(wx.EVT_COMBOBOX, self.OnSetValue)
 }}}
 changed to
 {{{
                         elif prompt == 'location':
                             win =
 gselect.LocationSelect(parent=which_panel,
                                                          value=value)
                             win.Bind(wx.EVT_TEXT, self.OnUpdateSelection)
                             win.Bind(wx.EVT_TEXT, self.OnSetValue)
 }}}

 There were a large number of other changes that appear unimportant for
 this.  I do not understand why the 7.2.2 is a higher revision than the
 7.4.0 but it must be due to different branches.

 I am not confident enough to make a change to the source.  Is there some
 other case where the change made sense?  Which branch is the right one to
 make the change in?

 After changing to EVT_COMBOBOX the selection from the pulldown list
 appears to work as I expect but then typing in the location no longer
 appears to work.  In my use the former seems more important but there
 might be cases where the later is more important.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3502#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list