Ticket UUID: | eae238d5a75aef4996ab709307590023fbca53e5 | |||
Title: | Listbox does not scroll on startup on selected item | |||
Type: | Bug | Version: | 1.9.9 | |
Submitter: | oehhar | Created on: | 2016-03-08 07:31:00 | |
Subsystem: | bwidget 1.x | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Closed | Last Modified: | 2016-03-08 07:51:41 | |
Resolution: | Fixed | Closed By: | oehhar | |
Closed on: | 2016-03-08 07:51:41 | |||
Description: |
Reported by Wolfgang, fixed by Adriàn. Here is the demonstrator for the issue Please, try this script: ::toplevel .t; set c [::ComboBox .t.c -bwlistbox 1]; ::pack $c; $c configure -values {a b c d e f g h i j k l m n n o p q r s t u}; $c setvalue @20; # Selects item "t";Now click on the arrow button. Note that the list is not scrolled to show the "t". Click somewhere else (to close the ListBox) and click again on the arrow button. The "t" item is visible now. The issue only happens at startup, as we are telling the ListBox to "see" the item before it has ever been displayed. It is fixed by checkin [36d4ee635f]. THank you, Harald |