Tk Source Code

View Ticket
Login
Ticket UUID: 3611174
Title: Empty text items aren't found by "find enclosed"
Type: Bug Version: current: 8.6.0
Submitter: ladayaroslav Created on: 2013-04-17 08:18:03
Subsystem: 05. Canvas Items Assigned To: ferrieux
Priority: 7 High Severity:
Status: Open Last Modified: 2013-04-29 21:53:23
Resolution: None Closed By:
    Closed on:
Description:
Empty text items aren't found by "find enclosed". Tcl/Tk 8.4.19 and 8.5.2 don't have the bug.
Script:
-----
catch {console show}
canvas .c
grid .c
puts [info patchlevel]
set item [.c create text 100 100 -text "1"]
puts "Enclosed: [.c find enclosed 0 0 10000 10000]"
.c itemconfigure $item -text ""
puts "Enclosed: [.c find enclosed 0 0 10000 10000]"
-----
Result:
8.6.0
Enclosed: 1
Enclosed:
User Comments: dgp added on 2013-04-29 21:53:23:
Bug first appears in checkin

http://core.tcl.tk/tk/ci/6c007ba101

which was intended to fix 2328657

dgp added on 2013-04-29 21:24:09:
confirmed