Bugs item #2946849, was opened at 2010-02-06 00:04
Message generated for change (Settings changed) made by sistisette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2946849&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: v0.42
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matteo Sisti Sette (sistisette)
Assigned to: Nobody/Anonymous (nobody)
>Summary: square bracket in label prevent opening properties dialog

Initial Comment:
If you set the label of a tgl, slider, number box or whatever gui object to 
anything containing a "[" character (without a matching "]" character), the 
properties dialog won't open any more when right-clicking on the object and 
choosing "properties".

That is, for example:

1) create a toggle (or bang, or number box, or slider, .....)
2) Rightclick on it and choose Properties
3) In the "label" field, type any name containing an opening square bracket [
4) Click OK
 -> This will apparently work: the square bracket will show up as label
5) Rightclick on the object and try to choose Properties

  ---> the properties dialog won't open.

Workaround to be able to edit the properties without having to destroy and 
recreate the object: connect a message box to the inlet of the object and send 
it a [label( object to clear its label. Then the properties dialog will work 
again.

A closing ] won't cause problems, and a [] ()has funny behaviors (try it!)

The dialog should not let you type any character that is not legal; when set 
through messages, invalid labels should be either ignored or cause an error 
message to be print.

I tested only on Windows Vista

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2946849&group_id=55736

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to