[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-dev: [PATCH] gschem: Visual feedback for keyboard commands



Hi Ivan,

[snip]
>I just did that (the limit is set at 10 chars, I guess that's
>reasonable) and it works good. Please test the attached patch.
>(Note that I'm more interested in cases where the keyboard command
>does _not_ correspond to a valid action, since the valid commands work
>perfectly)

	I will play with your new patch today/tonight.

>
>> PS. About the use of static variables, be careful, the user can open up
>> multiple windows and I just observed the same key name string in two
>> different toplevel windows (when I only typed it in one of them).
>
>I can't reproduce this. How did you get the same string in two
>different windows?
>

	Ah yes, some more detail would be more helpful.  Here's how you
produce (with your first patch):

1) Open up two gschem windows
2) Hit Return a few times in one
3) Go over to the other one press "3" or some other unbound key
4) Notice that the second window has the original Returns plus the 3's.
5) If you go back to the first window, and press another unbound key (4),
   you will see the original Returns, the 3's and additional Returns, and 
   now the 4.

								-Ales



_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev