[GRASS-dev] Issues of 6.5 build on WinXP

Michael Barton c.michael.barton at gmail.com
Fri Jan 1 14:33:58 EST 2010


On Jan 1, 2010, at 2:42 AM, Glynn Clements wrote:

> 
> Michael Barton wrote:
> 
>>>> I've looked at the current version of menuform.py and gselect.py and can
>>>> find no place that should generate a pause or autocomplete in map
>>>> selection. If it's there, it's really buried deeply.
>>> 
>>> Everything in the GUI is buried deeply ;)
>>> 
>>> But, here goes:
>>> 
>>> Each modification to the text widget generates EVT_TEXT,
>> 
>> Where is the EVT_TEXT binding? I couldn't find it.
> 
> It's in cmdPanel.__init__() ;)
> 
> In r40168 (trunk), it's at line 1329 of menuform.py.

If I comment out this line, I don't see any difference in function. Does that help the time lag?

Michael

> 
>> This should be run when needed, not while typing.
> 
> That's my opinion. However:
> 
> 1. It requires that combo boxes support a popup event which can be
> used to to populate the list. The user may type a map name then
> immediately click on the button to pop-up the option list; we can't
> assume that there will be an intermediate event such as the map name's
> text field losing focus or the combo box's text field gaining focus.
> 
> 2. If the list is needed even if the user doesn't pop-up the option
> list (e.g. for completion), it may need to be populated when the combo
> box's text field gains focus (or receives its first EVT_TEXT event).
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>



More information about the grass-dev mailing list