From: <no...@so...> - 2002-03-17 02:09:06
|
Bugs item #528441, was opened at 2002-03-11 02:58 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=528441&group_id=12997 Category: 85. Win Build Group: 8.4a4 Status: Open Resolution: None Priority: 9 Submitted By: Vince Darley (vincentdarley) Assigned to: David Gravereaux (davygrvy) Summary: Tk builds incorrectly under VC++5.2 (focus, click bugs) Initial Comment: The changes introduced by hobbs on Feb 26th to tkText.c mean that the cursor doesn't blink at all when a text widget is first created, under some circumstances, and this then seems to break clicking in the widget and making a selection. See, for example, the 'basic editable text' Tk demo, and try out suggestion number '3'. The widget doesn't appear to take the focus (even thought it seems to already have it), until the focus is manually moved to a different window and back again. Vince. ---------------------------------------------------------------------- >Comment By: David Gravereaux (davygrvy) Date: 2002-03-16 18:09 Message: Logged In: YES user_id=7549 What Tcl dll is is it running with? Last week I had someone tell me tcl's makefile.vc was hosed because the sources threw errors. yeah, like that's a makefile problem. please, narrow it down. It's working for me with vc5. I'm poking at air, and the problem is happening on your end. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-16 17:10 Message: Logged In: NO I have the latest tk-cvs tree of sources. I compile it with VC++ 5.2, and I find dozens of problems (i.e. can't click on buttons, but have to use keyboard. text widgets don't get the focus and don't show a selection). Now I grab an old makefile.vc, make two trivial changes to it which are needed so it can work with the new sources (the changes mentioned below: comctl32.lib and tkPanedWindow.obj) and recompile. Now tk works like it always has. To me, this means there's a makefile problem. I'm happy to try anything you can suggest... ---------------------------------------------------------------------- Comment By: David Gravereaux (davygrvy) Date: 2002-03-16 11:11 Message: Logged In: YES user_id=7549 I just did an update, full rebuild, install and don't see anything obvious running the widget demo. I tromped around most everything, and it all looks fine except for the vertical sash demo where you need to pull down the whole dialog to see the components. behaviors of focus and cursors appears normal. could you narrow this down for me? Are there source files missing or a bad compiler switch? Is the install target missing files to be copied that lead to the issue? playing with the widget demo isn't pointing me back to the makefile. How is the behavior of the demo, leading to a makefile issue? I'm poking at all air here with this. ---------------------------------------------------------------------- Comment By: David Gravereaux (davygrvy) Date: 2002-03-16 10:35 Message: Logged In: YES user_id=7549 where the error? Is comctl32.lib missing? ---------------------------------------------------------------------- Comment By: Vince Darley (vincentdarley) Date: 2002-03-16 09:36 Message: Logged In: YES user_id=32170 I retested this today. Basically: Old makefile.vc => Wish that works New makefile.vc => Wish that doesn't work (can't click on buttons, all sorts of focus problems, etc). Can this be fixed, please? ---------------------------------------------------------------------- Comment By: Vince Darley (vincentdarley) Date: 2002-03-11 03:38 Message: Logged In: YES user_id=32170 I've now realised there are lots of broken things with the focus and clicking, so I reverted back to an old makefile.vc (from 3 months ago), adding in comctl32.lib and the tkPanedWindow.obj line and rebuilt. Now everything works fine. Therefore something in the last few months has made Tk build a bad executable under VC++ 5.2 (on Windows 2000sp2). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=528441&group_id=12997 |