Tk Library Source Code

View Ticket
Login
Ticket UUID: 693009
Title: ScrolledWindow infinite loop
Type: Bug Version: None
Submitter: pkienzle Created on: 2003-02-25 16:40:24
Subsystem: bwidget Assigned To: hobbs
Priority: 7 High Severity:
Status: Closed Last Modified: 2003-04-12 08:46:56
Resolution: Works For Me Closed By: hobbs
    Closed on: 2003-04-12 01:46:56
Description:
Bug #472718 ScrollWindow update idletask

This bug was closed so I could not attach a patch. 
Here is the code which triggers the bug.

ScrolledWindow .textbox -auto none
text .textbox.text -wrap no -height 2 -width 6
.textbox setwidget .textbox.text
pack .textbox -fill both -expand yes
.textbox.text insert 0.0 "Line 1\nLine 2\nLong line 3"

I put together a patch involving a lock and an update
idletask so that if you add a scroll bar then it will
ignore any request to remove it.
Not very nice, but much nicer than an infinite loop.
User Comments: hobbs added on 2003-04-12 08:46:56:
Logged In: YES 
user_id=72656

I believe this is out-of-date.  Please reverify with the CVS 
head of bwidgets.  IOW, it works for me.

andreas_kupries added on 2003-03-29 00:11:27:
Logged In: YES 
user_id=75003

Just send the patch to 
<[email protected]> and I will attach 
the patch.

pkienzle added on 2003-02-26 00:57:19:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:54:08:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:52:30:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:50:29:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:49:42:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:48:10:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:45:12:
Logged In: YES 
user_id=40262

trying again to attach a patch...

pkienzle added on 2003-02-25 23:43:40:
Logged In: YES 
user_id=40262

trying again to attach a patch...