Below is a list of the bugs that are fixed by patch 1 for Tk 4.0 (Tk 4.0p1): 7/18/95 (bug fix) %t in event bindings didn't work properly for some events (e.g. PropertyNotify). 7/18/95 (bug fix) Changed "exec wish" lines in demo scripts to "exec wish4.0" to avoid version conflicts. 7/18/95 (bug fix) Fixed round-off errors in scrolling for texts, canvases, listboxes, and entries. The error could cause the view to shift up in a command like "$w yview moveto [lindex [$w yview] 0]". 7/19/95 (bug fix) Canvases weren't always redrawing borders correctly when they became unobscured. There were also some problems with improper refresh after size changes. 7/19/95 (bug fix) Fixed bug in text index processing that causes tests textIndex-11.1 and textIndex12.1 to fail on some platforms. 7/19/95 (bug fix) Fixed bug where 2-second delays were ocurring during "raise" and "lower" commands for toplevel windows under some window managers (such as fvwm). 7/20/95 (bug fix) Text searches were misbehaving when there were embedded windows on the starting line of the search. The most common symptom is that Tk would fail to find a match at the starting position for the search. 7/22/95 (bug fix) Fixed core dump that could occur in menus if a checkbutton entry's -variable option referred to an array (or couldn't be read by the menu C code for some other reason). 7/22/95 (bug fix) Text widgets didn't update their scrollbars when changes were made to information that was off-screen. 7/25/95 (bug fix) Fixed core-dump in tkListbox.c that used to happen in the command ".l bbox end" if the listbox was empty. 7/25/95 (bug fix) Page-up and page-down bindings for listboxes didn't move active element to remain on the screen. 7/25/95 (bug fix) Patched around H-P compiler problem that results in core-dumps in tkImgPhoto.c during image handling. 7/25/95 (bug fix) Fixed bug in tkImgPhoto.c that caused core dumps (during Tk self-tests and other image uses) on AIX and other machines where "schar" in tkImgPhoto.c was being defined as "short" instead of "char". 7/26/95 (bug fix) The PPM image reader couldn't handle maximum intensity values other than 255. 7/26/95 (bug fix) Canvases didn't redraw their borders when the relief changed from raised to flat. 7/27/95 (bug fix) Canvases didn't set the scrolling values correctly when no scroll region was specified. 7/28/95 (bug fix) Modified menu and tk_dialog scripts to restore any old grab that might have been in effect before a menu or dialog was posted.