#1764 $imageName configure fails with pure list.

obsolete: 8.4.4
closed-fixed
7
2004-10-26
2004-09-19
Kevin B KENNY
No

If I attempt to switch frames on an animated GIF
with

$imageName configure -format [list GIF -index $index]

it appears to revert to frame 0; [$imageName cget -format]
returns the empty string.

On the other hand

$imageName configure -format "GIF -index $index"

works as expected.

Is something reaching directly into the string rep that
isn't there, rather than doing Tcl_GetStringFromObj?

Discussion

  • Kevin B KENNY
    Kevin B KENNY
    2004-09-19

    • assigned_to: nobody --> hobbs
     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2004-09-20

    • assigned_to: hobbs --> dkf
     
  • Logged In: YES
    user_id=79902

    That's odd; it doesn't revert, it never makes it into the
    structure at all. (Printing out [$imageName configure]
    after setting with a list -format indicates that nothing has
    changed at all!)

     
    • milestone: 420075 --> obsolete: 8.4.4
    • priority: 5 --> 7
     
  • Logged In: YES
    user_id=79902

    The code in ImgPhotoConfigureMaster seems obscure. Or
    stranger than that. :-(

    Problem certainly also existed in 8.4.4; pushing back Group

     
  • Logged In: YES
    user_id=79902

    Jeff fixed this on 2004-05-03

     
    • status: open --> closed-fixed