#1764 $imageName configure fails with pure list.

obsolete: 8.4.4
closed-fixed
7
2004-10-26
2004-09-19
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
     
  • Donal K. Fellows

    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!)

     
  • Donal K. Fellows

    • milestone: 420075 --> obsolete: 8.4.4
    • priority: 5 --> 7
     
  • Donal K. Fellows

    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

     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    Jeff fixed this on 2004-05-03

     
  • Donal K. Fellows

    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks