From: SourceForge.net <no...@so...> - 2005-04-05 18:56:36
|
Bugs item #1169429, was opened at 2005-03-23 22:17 Message generated for change (Comment added) made by fvogelnew1 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1169429&group_id=12997 Category: 18. [text] Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: fvogelnew1 (fvogelnew1) Assigned to: Jeffrey Hobbs (hobbs) Summary: insertofftime 0 should not hide the cursor in text widgets Initial Comment: Background: A text widget with a blinking cursor. Issue: After the widget is created, using -insertofftime 0 to stop the cursor blinking stops it in the state the cursor is at the time the above command is processed. The cursor can therefore be off, depending on when insertofftime 0 was processed. What it should be (IMHO): Using -insertofftime 0 should stop blinking the cursor and always display it. To reproduce the issue: In a wish session, type: text .t -insertofftime 500 -insertontime 500 pack .t .t insert insert "This is a blinking cursor test. " bind Text <Shift-Button-3> { %W configure - insertofftime 0 } bind Text <Button-3> { %W configure -insertofftime 500 } focus .t Now play with mouse button 3 and with the shift key to stop the blinking and start it again. You can easily show that the cursor stops blinking in the state it is in when tk processes the insertofftime 0. If you make it stop blinking when it is on, then it remains visible in the widget, otherwise it is hidden and does not reappear until blinking is restored using button- 3 (try typing text in the widget, or click button1 for instance). ---------------------------------------------------------------------- >Comment By: fvogelnew1 (fvogelnew1) Date: 2005-04-05 20:56 Message: Logged In: YES user_id=1245417 Sorry, I can see it now. ---------------------------------------------------------------------- Comment By: fvogelnew1 (fvogelnew1) Date: 2005-04-05 00:22 Message: Logged In: YES user_id=1245417 Many thanks for that. However, I can't see any change in the cvs file tkText.c. Strange... ---------------------------------------------------------------------- Comment By: Vince Darley (vincentdarley) Date: 2005-04-04 23:59 Message: Logged In: YES user_id=32170 Committed fix to cvs head. ---------------------------------------------------------------------- Comment By: fvogelnew1 (fvogelnew1) Date: 2005-03-31 21:44 Message: Logged In: YES user_id=1245417 Downloaded the full tcl and tk cvs version, compiled (Win XP), applied your patch, and... ...it works for me, thanks!! Will we see this included in the cvs version? What's the process now? ---------------------------------------------------------------------- Comment By: Vince Darley (vincentdarley) Date: 2005-03-31 19:37 Message: Logged In: YES user_id=32170 Please test the attached patch. Should fix the problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1169429&group_id=12997 |