From: Russell O. <ro...@uw...> - 2015-04-01 21:30:40
|
Your script seems to work fine for me. What I observe: - When I type some text every char is shown correcting in stdout - When I press Playback those same chars that I typed are entered into the text and echoed to stdout - I repeated this sequence several times Did you get the latest 8.5.18; there were a few changes after the first announcement. — Russell On Apr 1, 2015, at 10:42 AM, Trevor Williams <pha...@me...> wrote: > Russell, > > Your script does not show the error I am speaking of. > > Try my script again, this time enter a small bit if text into the widget. Notice in the standard output that the keysym matches the char. > > Next, click the playback button. The standard output should now show the keysym value to be 'a' while the char value is correct. > > Can you see this behavior occurring now? > > Sent from my iPod > >> On Apr 1, 2015, at 12:23 PM, Russell Owen <ro...@uw...> wrote: >> >>> On 3/31/15 6:22 PM, Trevor Williams wrote: >>> All, >>> >>> I'm seeing an issue with 8.5.18 build for Mac OSX where generating a key event such as: >>> >>> pack [text .t] >>> event generate .t <Key-b> >>> >>> Will cause the %K (keysym) value to go to a bogus value (I consistently see the character "a" displayed). >>> >>> I have attached a sample script which demonstrates the issue. Anyone want to give it a try and confirm the issue? I tried the same script with 8.5.8 and that appears to produce the correct result. >>> >>> Thanks, >>> Trevor >> >> The following script works for me on MacOS 10.9.5 using tcl/tk 8.5.18 >> (your script did not work for me in wish because the text did not have >> focus): >> >> pack [text .t] >> button .b -text Generate -command {event generate .t <KeyPress-b>} >> pack .b >> >> -- Russell >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Tcl-mac mailing list >> tc...@li... >> https://lists.sourceforge.net/lists/listinfo/tcl-mac |