[PD] pd 0.43 report

Hans-Christoph Steiner hans at at.or.at
Mon Oct 15 17:01:58 CEST 2012


On Oct 15, 2012, at 10:22 AM, Mirko Maier wrote:

> hi hans-christoph,
> 
>>> I've found some deviations from previous pd versions in pd 0.43
>> (extended) (on Win XP):
>>> 
>>> - in previous versions, with the message "pd open [patch.pd] [folder]/;"
>> you could open a patch in a subfolder, which doesn't work in pd 0.43
>> 
>> Can you provide an example patch of this?  What are the details of
>> [folder]?
> 
> i have a subfolder "tools", and there is e.g. the patch "mytool.pd". in my main patch, in pd 0.42 i can send the message "; pd open mytool.pd tools/", then "mytool.pd" opens. but doesn't work in pd 0.43

This does not work for me in both Pd-extended 0.42.5 and 0.43.4.  Attached is my test patch:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testpatch.zip
Type: application/zip
Size: 603 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121015/070d327e/attachment.zip>
-------------- next part --------------

>>> - dynamic patching: i have this message: 
>>> 
>>> "editmode 1, mouse 12526 541 0 0, motion 12526 2000 0, mouseup 12526
>> 2000 0 0, mouse 21 -500 0 0, mouseup 250000 1999 0 0, cut, mouse 12526 2000 0
>> 0, motion 12526 541 0, mouseup 100 100 0 0"
>>> 
>>> (sent to a pd-window). in pd 0.43 i need to divide the message in two
>> parts:
>>> 
>>> "editmode 1, mouse 12526 541 0 0, motion 12526 2000 0, mouseup 12526
>> 2000 0 0"
>>> 
>>> and
>>> 
>>> "mouse 21 -500 0 0, mouseup 250000 1999 0 0, cut, mouse 12526 2000 0 0,
>> motion 12526 541 0, mouseup 100 100 0 0"
>>> 
>>> and i need a delay of at least 4ms between both actions that it works
>> properly.
>> 
>> Try removing the 'motion' messages, the 'mouseup' message should be enough
>> to register a click.  Otherwise, can you post an example patch?
> 
> no doesn't work without "motion". i admit, this might be a special case. the problem is, i want to delete the whole subwindow, but in the window there is besides other things the object "image". When deleting "image" several times, it ultimatively crashes. that's why i make this dynamic hack, moving the image far away, deleting everything else and then move the image back to its original place.
> anyway, pd 0.42 and pd 0.43 obviously have different behaviour there.

Unfortunately, you're using the undocumented internals of Pd here.  It would not be possible to improve Pd's GUI if those internals don't change.  If you can find a way to make 0.43 backwards compatible without breaking the current state of things, that's a patch I'd accept.

Like IOhannes said, try using iemguts, that's an exposed public API for doing this kind of stuff.


>>> - i regret that there's no "path" menu anymore / the "path" function in
>> the preferences doesn't work when entering a path name with spaces (then,
>> stuff like vslider doesn't work anymore). i have a path including spaces,
>> therefore the "path"-function was very helpful.
>> 
>> You can still use -path command line flags, or manually edit the registry
>> to add global paths in the old style.  Or you can open up File ->
>> Message... and enter:
>> 
>> pd start-path-dialog
>> 
>> Or in a patch: [;pd start-path-dialog(
> 
> yeah, but with paths including spaces it's quite a problem then. why not keeping the old comfortable way? is there any harm about it?

Yes there is harm, check the archives if you are interested in the details.  A patch's config should be included in the patch so that it will run in other pd installs without manual intervention.  A prefpane for setting global path serves to make it easier to do the wrong thing.

If you are looking for a place to install your libraries and externals, no need to touch the path at all:
http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files

.hc

>>> - as already posted yesterday, "key" doesn't detect the tabulator key
>> anymore (unfortunately i use this key in my patches very often)
>> 
>> This was happening on all platforms, I think.  I attached a patch that
>> fixes it for me, and will be in upcoming nightly builds.
> 
> thanks.
> 
> best
> mirko
> 
>> 
>> .hc
>> 



More information about the Pd-list mailing list