plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

[Request] Patch object disabling

Open ledlaux opened this issue 8 months ago • 7 comments

Hi, it would be great to have a patch object disabling toggle. Yes, we can just move parts of unused objects or disconnect them. But disabled objects could be visually distinguished from the rest, engaged objects making patch more clear.

I understand that it would be hard to save it to the .pd patch itself. Maybe convert those disabled objects to text before saving with some special string flag.

ledlaux avatar Mar 29 '26 07:03 ledlaux

It sounds like this would be completely incompatible with PD.

There is no concept of "disabled objects". You'll have to adjust your patch to be able to disable certain paths yourself. For instance using [spigot] for control objects.

dromer avatar Mar 29 '26 07:03 dromer

not sure what the use case would be here; if it's about performance of signal rate stuff, it might be an option to organize patches with subpatches that get switch~ed off/on.

ben-wes avatar Mar 29 '26 07:03 ben-wes

It is not much about performance than visual representation. Yes [spigot] is usable in some cases. But the disabled path is not anyhow visually represented. Like greyed out or something. Also processing for those objects could be disabled too. Idea is to select area where are objects and use command to disable them, these objects become greyed out and can't be interacted with. Objects could be enabled/disable one by one also. On a overview of a complex patch it would be possible to see which parts of patch is active and which is disabled. One day i can use one part of the patch, second different. And part which is not used is greyed out, so no need hide unused parts of patch somewhere in the corners or in the sub patches. I have no real example, it is just an idea, and it seems like something outside PD infrastructure for sure.

ledlaux avatar Mar 29 '26 15:03 ledlaux

While I understand the UX this would be completely incompatible with PD, so not realistic to implement.

It would require a different patch format to accomplish.

dromer avatar Mar 30 '26 06:03 dromer

It is not much about performance than visual representation. Yes [spigot] is usable in some cases. But the disabled path is not anyhow visually represented. Like greyed out or something. Also processing for those objects could be disabled too. Idea is to select area where are objects and use command to disable them, these objects become greyed out and can't be interacted with. Objects could be enabled/disable one by one also. On a overview of a complex patch it would be possible to see which parts of patch is active and which is disabled. One day i can use one part of the patch, second different. And part which is not used is greyed out, so no need hide unused parts of patch somewhere in the corners or in the sub patches. I have no real example, it is just an idea, and it seems like something outside PD infrastructure for sure.

Hi, i don't think, that a GUI representation in PD is impossible (different objects have different features there), but it will be tedious. Greying out unused objects should be possible for some objects. I do the same, whenever possible, and just to say: It IS TEDIOUS.

jayrope avatar Apr 01 '26 19:04 jayrope

@jayrope

Could you please elaborate on the methods you used to achieve that?

ledlaux avatar Apr 02 '26 13:04 ledlaux

@ledlaux I think they just mean that they select some objects and change the colors by hand.

dromer avatar Apr 02 '26 13:04 dromer