Tk Source Code

View Ticket
Login
Ticket UUID: 220251
Title: binding of <Control-i> does not replace inserting of a tab in text widget
Type: Bug Version: obsolete: 8.2.1
Submitter: welch Created on: 2000-10-31 23:00:41
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2001-04-26 05:35:47
Resolution: Invalid Closed By: dgp
    Closed on: 2001-04-25 22:35:47
Description:
OriginalBugID: 3388 Bug
Version: 8.2.1
SubmitDate: '1999-11-05'
LastModified: '1999-11-12'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 95
ClosedDate: '1999-11-12'


Name:
Holger Jakobs

ReproducibleScript:
set t [text .t -font $f]
    bind $t <Control-i> {}

ObservedBehavior:
Normally, pressing <Control-i> in a text widget inserts a tab character.
    When replacing this
    key binding with something else - or even nothing, for that matter - the
    new binding is accepted
    and will be executed. But subsequently, the inserting of a tab character
    is performed as well,
    although this is no longer wanted.

DesiredBehavior:
If replacing or changing a key binding, the standard bindings should not
    be active anymore,
    unless + is used before the bound script.



As doc'ed in bindtags and bind, the user requires a 'break'
in the binding. 
-- 11/12/1999 hobbs