Tk Library Source Code

View Ticket
Login
Ticket UUID: 671821
Title: ScrolledWindow flashing scrollbars
Type: Patch Version: None
Submitter: lewca43 Created on: 2003-01-21 14:58:13
Subsystem: None Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-02-25 17:03:12
Resolution: Duplicate Closed By: hobbs
    Closed on: 2003-02-25 10:03:12
Description:
ScrolledWindow has a bug that the scrollbars will be
gridded, then imediately ungridded indefinately under
special circumstances. For instance, if a text widget
is placed in the ScrolledWindow and the very  last
viewable line causes the horizontal scrollbar to be
gridded, the scrollbar will cause the last line to go
out of view, thus causing itself to be ungridded,
causing the last line to be viewable again, causing the
scrollbar to be gridded .........

This patch will fix the scrollbar flash.

Note, using the same example as above, if the last line
in a text field causes the scrollbar to be gridded, the
scrollbar will cover the last line and the scrollbar's
handle will be fully expanded, making the scrollbar
somewhat unneeded. But it is better than the
alternative of an infinitel loop that eventually causes
a bgerror.
User Comments: hobbs added on 2003-02-25 17:03:12:
Logged In: YES 
user_id=72656

See tcllib bug 472718 for new ScrolledWindow 
implementation (for v1.6).

lewca43 added on 2003-01-21 22:04:14:
Logged In: YES 
user_id=299572

This problem presented itself in "bwidget1.5" as distributed
with ActiveTcl-8.4.1

- Bryan

lewca43 added on 2003-01-21 21:59:51:

File Added - 40231: scrollw.noflash.patch

Attachments: