From: SourceForge.net <no...@so...> - 2012-11-29 13:58:26
|
Bugs item #3588936, was opened at 2012-11-21 06:18 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3588936&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 32. Key Symbols Group: current: 8.5.13 Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Kevin Walzer (wordtech) Summary: tkUnixKey.c is wrong for me since 8.5.11 Initial Comment: Hi, on OSX, using unix like Tcl/TK .dylib, since 8.5.11 I cannot acces binding unless I hit a key first. with 8.5.13, if I copy/paste code from 8.5.10 tkUnixKey.c and recompile Tk, everything is fine but I doubt it's a good hack. here's the link to the discussion on comp.lang.tcl https://groups.google.com/d/msg/comp.lang.tcl/8bHk1QKGjFA/ukrgsAQps2QJ Best regards, Nicolas ---------------------------------------------------------------------- >Comment By: https://www.google.com/accounts () Date: 2012-11-29 05:58 Message: does 8.5.10 distros had problems on others platforms? because the ifdef where not present in it... ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2012-11-29 05:54 Message: But then it doesn't work on other platforms, which is the whole reason that code was put in there. ---------------------------------------------------------------------- Comment By: https://www.google.com/accounts () Date: 2012-11-29 05:40 Message: more digging... in tkUnixKey.c and especially KeySym TkpGetKeySym(), if I remove the TK_USE_INPUT_METHODS ifdef and all enclosed code, it works again with tk8.5.13. the comment fro the ifdef section is /* * If input methods are active, we may already have determined a keysym. * Return it. */ so I guess that Tk do not have a determined keysym hope this helps... ++ nicolas ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2012-11-29 01:21 Message: See Bug 1924761 for the change rationale, and I have no idea why you're having problems. ---------------------------------------------------------------------- Comment By: https://www.google.com/accounts () Date: 2012-11-29 00:46 Message: Kevin, so to confirm, this is seen on MacOSX.7.5 with Tk version since 8.5.11 (8.5.10 works fine). I've compiled 8.5.13 on Ubuntu12.0.4 and test it and it works fine. I'm able to use Ctrl+n (File/New in my program) in the very beginning without the need to hit a key first. for the diff, I've just picked the 8.5.10 tkUnixKey.c and paste it in the 8.5.13 distro. best regards, nicolas ---------------------------------------------------------------------- Comment By: Kevin Walzer (wordtech) Date: 2012-11-26 06:50 Message: First, just to confirm, this is seen in the X11 version of Tk on OS X? What OS version are you on? Can you test 8.5.11 on another version of X, such as Linux, to see if it's there? Can you provide a diff of tkUnixKey.c? I have very little knowledge of X11 keysyms, and I would think this bug would be evident on other X systems. I may refer this to another maintainer with more Unix expertise than me, depending on the feedback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3588936&group_id=12997 |