Turns out the problem was the & character in the label.  I fixed it so please test in tomorrow's build (2013-01-17)

This patch is what fixes it:
http://sourceforge.net/tracker/index.php?func=detail&aid=2947822&group_id=55736&atid=478072

About the labels not showing up when the patch loads, that's because you are saving the patch with a label that has spaces in it, which the iemgui objects do not handle.  In your patch, you could fix it by using _ instead of spaces, like by using [l2s _].

This could be fixed if iemgui_save() escaped spaces with \ and removed characters like ;,{}\ from the symbol.  I'll try to implement that, but I won't get to it tonight.

.hc

On Jan 16, 2013, at 7:40 AM, Nicolas Montgermont wrote:

ok I can reproduce this here.
the left toggle open each time without label, but when there is one on the right toggle and I click properties i have this error:

(Tcl) ERREUR NON GÉRÉE : wrong # args: should be "pdtk_iemgui_dialog mytoplevel mainheader dim_header wdt min_wdt wdt_label hgt min_hgt hgt_label rng_header min_rng min_rng_label max_rng max_rng_label rng_sched lin0_log1 lilo0_label lilo1_label loadbang steady num_label num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol lcol"
    while executing
"pdtk_iemgui_dialog .gfxstub3405d0 |tgl|             ----------dimensions(pix):----------- 15 8 size: 0 0 empty             -----------non-zero-value:-..."
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $cmds_from_pd"


joined is the actual state of the patch, right clicking on the right toggle displays the error
Best,
n

Le 16/01/13 12:25, James Dunn a écrit :
I'm using Pd-0.43.4-extended-20130115 and Mac OS 10.6.8.
Did you try saving the patch before reloading it? This is crucial to reproduce the bug.

Steps to reproduce the error are:

1) Open patch in Pd
2) If patch loads with the toggles unlabelled, then right-clicking the toggle and selecting 'Properties' works (however the receive labels have not been [loadbang]'d. If patch loads with toggles labelled right-clicking and selecting 'Properties' results in the error message.
3) Save patch, close and reload

Saving the patch means it will reopen in the alternate state. Hope this makes sense.

James

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

<indiff-test-gui.pd>_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list