#245 Make ".canvas lower" work with non-existent belowThis tag

open
5
2012-08-01
2012-07-31
Steven
No

This is new behaviour, and i ~think~ is probably a bug.

If the "belowThis" tag is not defined, wish throws an error.
All previous version os wish this does not happen.

pack [canvas .c]
.c create line 0 0 10 10 -tags aline
.c lower aline noline

> tag "noline" doesn't match any items

Discussion

  • Jan Nijtmans

    Jan Nijtmans - 2012-07-31
    • status: open --> closed-invalid
     
  • Jan Nijtmans

    Jan Nijtmans - 2012-07-31

    No, it's a bug fix: See #3437816

     
  • Donal K. Fellows

    • labels: 104344 --> 05. Canvas Items
    • milestone: 3071255 -->
    • status: closed-invalid --> open
     
  • Donal K. Fellows

    No, it's a FRQ

     
  • Donal K. Fellows

    • summary: canvas "lower" throws error if belowThis undefined --> Make ".canvas lower" work with non-existent belowThis tag
     
  • Steven

    Steven - 2012-08-01

    I't be nice to not throw an error here (and also modify the raise command's behaviour)
    * AFAIK - all other references to non-existing tags do not throw errors
    * This is the way it has been with "lower" for a long time.

     
  • Steven

    Steven - 2012-10-27

    tkspider error

     
  • Steven

    Steven - 2012-10-27

    The issue is <b>Many</b> tk apps are now going to needlessly start throwing errors.
    My tkspider game does just this. (screenshot attached).

    There is no real plus side to this change.