hi list,
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
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.
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.
as already posted yesterday, "key" doesn't detect the tabulator key anymore (unfortunately i use this key in my patches very often)
i hope this report is helpful.
best Mirko
On 10/14/2012 03:26 PM, Mirko Maier wrote:
- 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.
didn't test that but that's a nasty hack anyway =)
- 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.
this is working fine for me (pd-0.43 on linux). on which platform are you?
ps: paths with spaces are nasty as well...
cheers, y
On 10/14/2012 05:50 PM, yvan volochine wrote:
this is working fine for me (pd-0.43 on linux). on which platform are you?
ah, sorry but I just realized you were talking about pd-extended-0.43, my report was for pd-0.43 vanilla....
y
On Oct 14, 2012, at 9:26 AM, Mirko Maier wrote:
hi list,
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]?
- 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?
- 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(
- 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.
.hc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-14 19:33, Hans-Christoph Steiner wrote:
- 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"
if you only want to delete an object, i suggest to check iemgut's [canvasdelete]. it will provide a method to the canvas to delete a specific object (rather than everything at a specific position on the canvas):
[delete 1( | [s pd-foo]
will delete the 2nd object in the "foo" subpatch.
fgmaser IOhannes
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
- 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.
- 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?
- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-15 16:22, 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
it seems that your original message doesn't work for me with both Pd-0.43 and Pd-0.42(!)
what works for both, is to provide the full path: [; pd open mytool.pd /foo/bar/tools(
mfgasdr IOhannes
On Mon, 2012-10-15 at 17:01 +0200, IOhannes m zmoelnig wrote:
On 2012-10-15 16:22, 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
it seems that your original message doesn't work for me with both Pd-0.43 and Pd-0.42(!)
what works for both, is to provide the full path: [; pd open mytool.pd /foo/bar/tools(
It seems that it works for me with both 0.42 and 0.43. I think the issue is that the path is relative to the start location of Pd and not relative to the patch that is sending the message. The above works when I start Pd from the directory where mytool.pd is located.
The patch has no way to tell the correct path as it does not know the start location of Pd. This basically renders the "feature" of using relative paths useless for the 'pd open' message. Personally, I'd welcome a way to be able to 'open' a patch using a path relative to the calling patch.
@Mirko This is just a guess, but could the cause of your problem be that you changed the Pd start location between versions? How do you start Pd?
Roman
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:
- 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
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:
yes, in fact it doesn't work for me either. strange, in another patch it works. maybe roman is right about where pd is started.