Menu

#3091 Empty text items aren't found by "find enclosed"

current: 8.6.0
open
7
2013-04-29
2013-04-17
No

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:

Discussion

  • Don Porter

    Don Porter - 2013-04-29

    confirmed

     
  • Don Porter

    Don Porter - 2013-04-29

    Bug first appears in checkin

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

    which was intended to fix 2328657

     
  • Don Porter

    Don Porter - 2013-04-29
    • assigned_to: hobbs --> ferrieux
    • priority: 5 --> 7