Tk Library Source Code

View Ticket
Login
Ticket UUID: 1589111
Title: Wrong keysym in combobox code
Type: Bug Version: None
Submitter: pointsman Created on: 2006-11-02 07:52:34
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-11-11 04:57:02
Resolution: None Closed By: dev_null42a
    Closed on: 2006-11-10 21:57:02
Description:
This part of the BWidget Combobox code does work as
intended (if it does) only by bug:

proc ComboBox::_auto_post { path key } {
    ...
    if {([string length $key] > 1 && [string tolower
$key] != $key) && \
[string equal $key "Backspace"] != 0 && \
[string equal $key "Up"] != 0 && \
[string equal $key "Down"] != 0} {
 return
    }
    ...
}

There isn't a keysym "Backspace", that is "BackSpace".
User Comments: dev_null42a added on 2006-11-11 04:57:02:
Logged In: YES 
user_id=1381097

Code fixed.  Thanks.