#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 did a little searching in wxWidgets and wxPython to try understand the intentions of the wx.ComboBox events. The only thing I found somewhat useful were comments in https://github.com/wxWidgets/wxPython/blob/master/demo/ComboBox.py that said * wx.EVT_COMBOBOX - When the user selects something. * wx.EVT_TEXT - Capture events every time the user hits a key in the text entry field. * wx.EVT_TEXT_ENTER - Capture events when the user types something into the control then hits ENTER. This functionality seems to match what I see on macOS. The ComboBox implementation in wxWidgets for Linux GTK is complicated and appears to have compile or configuration options that affect how events are handled. I had difficulty following so I could not explain the behavior on Linux. For robustness I do not think I would depend solely on wx.EVT_TEXT messages being generated when a user selects a new value through the pulldown. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3502#comment:7> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev