Hi, in a project I'm working to I've built a simple subpatch with all counters and event management. Everything was working well. Suddenly, don't know why or what happened, if I try to open to edit the subpatch object this is not anymore possible, no canvas opens and I don't know khow to recover what inside. Strange (for me...) thing is that the main program still works, as if the time mng subpatch were still present.
Could someone please help? At least to recover the project inside this subpatch.
I'm using PD vanilla 0.53.2 under Windows OS.
Thanks
-
subpatch disappeared
-
Thanks for your answer.
"Does the sub-patch appear blank in Windows' task-bar?" => YES
"Did you change OS / hardware / displays or screen resolution?" => NO
Other subpatches in the same main work fine.
Only differences I found is that, in working subpatches Properties, I have:
Dimensions XY = 0, 0
In the not working one instead:
Dimensions XY = 85, 60
I haven't set these values (I believe...), and by BTW they are not changable in Properties box. I do not know where to write the info suggested in the link you posted -
@bobpell If you open the patch with a simple text editor....... one that does no formatting..... you will see a couple of lines that contain the name of the sub-patch.
You can ignore the #X restore line.#N canvas 907 466 450 300 mysubpatch 0;
((all the objects and connections in the sub-patch here))
#X restore 80 565 pd mysubpatch;The numbers will all be different, and mypatch will be the name that you gave your sub-patch.
The 907 466 in my example above is where the sub-patch will open on the screen, and the 450 300 is its size.
The 80 565 is where it appears in the mother patch window when it is closed.It could be....... most likely as it is still working..... that it has gone outside your screen area.
Edit the #N canvas line to #N canvas 0 0 xsize ysize (leave xsize and ysize as they are) and save the file.
It should then open on the screen in Pd.
You can then move it to where you want and save the patch.
David. -
"Edit the #N canvas line to #N canvas 0 0 xsize ysize" => It works!!
Subpatch reappeared. I wonder why it moved, but we got the result...
Grazie mille! -
Hi, I need to come back to my problem. I'm now able to fix the "disappeared patch" as suggested by @whale-av. The question is why I get this issue very often when I open an existing patch, both main that subpatch/abstraction? Let's say around 1 out of 4 patch open. It's very bothering and should not happen so frequently. Is there any setting I mistake? Thnks for help
-
@bobpell First idea......
Put a message to the subpatch into the container patch..... maybe triggered with a [loadbang] or if that doesn't work a [loadbang] + a small [delay 5]...[; pd-subpatch vis 0, relocate (width)x(height)+1+1 1x1+(x-position)+(y-position), vis 1(
See the help file here...... 0.all_msg.pd
Second idea...... not yet....
David. -
@bobpell sounds like a new bug species.
Does it happen 1/4 times by just new patch > save > close > reopen?Please give more info on your screen and GPU setup? Screensaver? Are there other things running doing sth related to the screen?
Does it happen after waking up or hybernating > saving the patch > reopening? -
@whale-av: not sure if first idea is applicable because I had the issue also with "main patch", not only with subpatch/abstraction
@lacuna: it happens (maybe something less than 1 out of 4, let's say each 10 times) when I reopen a saved patch/subpatch/abstraction. Nothing unusual about my setup/screen, I have to pay attention when it happens.
Sometimes I also use Pd on a Linux laptop, and by heart I don't remember the issue, always on Windows desktop -
@bobpell You can also send such a message to the main patch... directly from the same patch....
[; pd-mainpatch.pd message(
David.
-
Ok, I'll try. In next days I'll let you know. Thanks