[PD] Re: drawsymbol, drawnumber editable in run mode
On Tue, Jun 23, 2026 at 4:52 PM Miller Puckette via Pd-list wrote: > > Ok, shuld be fixed to ignore all edit-mode mouse clicks when -xe > is set. feels quite intuitive to me now. thanks! --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/UBUAVHXUQQLYD3HIQLD6IF3RS6FS7RTK/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
Ok, shuld be fixed to ignore all edit-mode mouse clicks when -xe is set. cheers M On 6/23/26 11:43 AM, Ben Wesch wrote: On Tue, Jun 23, 2026 at 11:10 AM Miller Puckette via Pd-list wrote: Would it also be useful when in edit mode to disable dragging the value (but enabling it in run mode)? The "-x" option disables it in edit and run mode both, which seems to me much more likely to be what's wanted. i'd probably need to work with a real world case for a clear opinion ... was just irritated since the explanation of -xe is "disable mouse actions in edit mode", which is only partly the case so far. my assumption (but again: not fully qualified) would be that if a user sets -xe, he'd not want to mess with scalar values at all in edit mode. cheers, ben --- [email protected] - the Pure Data mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/6RM2A3JPEUCDLWRF6WZOREBCU6XO5OLJ/__;!!Mih3wA!BiPFJJApgA4xDPmOm_i89YNRsNhbSEfph-lzyP6ZZBw1zPgTSqSCylGAJ5jXeBaTMP6B_htHeWlgTG1KvqnQ$ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!BiPFJJApgA4xDPmOm_i89YNRsNhbSEfph-lzyP6ZZBw1zPgTSqSCylGAJ5jXeBaTMP6B_htHeWlgTC16Z7CA$ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/FEXZ337L7NR27JI462Q42KOCYBFEQYZR/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
On Tue, Jun 23, 2026 at 11:10 AM Miller Puckette via Pd-list wrote: > > Would it also be useful when in edit mode to disable dragging the value > (but enabling it in run mode)? The "-x" option disables it in edit and > run mode both, which seems to me much more likely to be what's wanted. i'd probably need to work with a real world case for a clear opinion ... was just irritated since the explanation of -xe is "disable mouse actions in edit mode", which is only partly the case so far. my assumption (but again: not fully qualified) would be that if a user sets -xe, he'd not want to mess with scalar values at all in edit mode. cheers, ben --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/6RM2A3JPEUCDLWRF6WZOREBCU6XO5OLJ/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
Hmm...! The "-xe" prevents the normal editing action (which is to drag the whole object around when you click on the object - i.e. it prevents the bounds rectangle for the whole scalar to be enlarged to include the drawnumber. But then that leaves drag-the-value-up-and-down unchanged so that, even in edit mode, you can drag the value up and down (not displacing scalar as a whole). I hadn't thought of it but this sounds like a useful feature. Would it also be useful when in edit mode to disable dragging the value (but enabling it in run mode)? The "-x" option disables it in edit and run mode both, which seems to me much more likely to be what's wanted. Thanks for the careful testing! M On 6/23/26 12:37 AM, Ben Wesch wrote: On Sun, Jun 21, 2026 at 3:56 PM Miller Puckette via Pd-list wrote: OK, I gave it a try (latest master in git repo) cool, thanks! i closed https://urldefense.com/v3/__https://github.com/pure-data/pure-data/pull/2871__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjESJWY8Hb$ in favour of this and tested a bit (on macos). two comments on the current behaviour: * text editing is still possible for all flags via triple click - but possibly, that's an edge case anyway. * -xe allows dragging in edit mode (while -xr doesn't - should these be switched?) i'm attaching a test patch. not sure if that works here ... cheers, ben On 3/16/26 9:28 AM, Roman Haefeli wrote: On Mon, 2026-03-16 at 12:58 +, Ben Wesch wrote: IOhannes m zmölnig wrote: recently I also had a need for a read-only [drawnumber] "-x" would be the obvious flag to achieve this, i guess? Yes, that would make sense. ... not sure whether "-xr" and -"xe" would also be required then. I don't see a reason why not. Roman --- [email protected] - the Pure Data mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/TI775OOV225XGIHIKSHIMM7LLENUBPZP/__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjEelRM_BF$ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjESvyPqnU$ --- [email protected] - the Pure Data mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/T2AGVQWWOXOYXNPDMJA4E3MUVYNXAEB7/__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjEYCgGFHU$ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjESvyPqnU$ --- [email protected] - the Pure Data mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/MHN64X7TAQWNQMUP6UTZCUVNPXLQLFU2/__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjEbmUiFAc$ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Cats3rkg82YSsqsPjfLgticIEvV_fALTFPyvXoU4w7udbUyvQeEswqa9R8KRxa8l7zbVnjdSlpbjESvyPqnU$ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/5IC4EHNJ26EZKGVX3OAPMG4ADFY274XH/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
On Sun, Jun 21, 2026 at 3:56 PM Miller Puckette via Pd-list wrote: > > OK, I gave it a try (latest master in git repo) cool, thanks! i closed https://github.com/pure-data/pure-data/pull/2871 in favour of this and tested a bit (on macos). two comments on the current behaviour: * text editing is still possible for all flags via triple click - but possibly, that's an edge case anyway. * -xe allows dragging in edit mode (while -xr doesn't - should these be switched?) i'm attaching a test patch. not sure if that works here ... cheers, ben > On 3/16/26 9:28 AM, Roman Haefeli wrote: > > On Mon, 2026-03-16 at 12:58 +, Ben Wesch wrote: > >> IOhannes m zmölnig wrote: > >>> recently I also had a need for a read-only [drawnumber] > >> "-x" would be the obvious flag to achieve this, i guess? > > Yes, that would make sense. > > > >> ... not sure whether "-xr" and -"xe" would also be required then. > > I don't see a reason why not. > > > > Roman > > > > > > > > --- > > [email protected] - the Pure Data mailinglist > > https://lists.iem.at/hyperkitty/list/[email protected]/message/TI775OOV225XGIHIKSHIMM7LLENUBPZP/ > > > > To unsubscribe send an email to [email protected] mailing list > > UNSUBSCRIBE and account-management -> https://lists.iem.at/ > > > --- > [email protected] - the Pure Data mailinglist > https://lists.iem.at/hyperkitty/list/[email protected]/message/T2AGVQWWOXOYXNPDMJA4E3MUVYNXAEB7/ > > To unsubscribe send an email to [email protected] mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/ test-drawsymbol-args-new.pd Description: Binary data --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/MHN64X7TAQWNQMUP6UTZCUVNPXLQLFU2/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
OK, I gave it a try (latest master in git repo) cheers Miller On 3/16/26 9:28 AM, Roman Haefeli wrote: On Mon, 2026-03-16 at 12:58 +, Ben Wesch wrote: IOhannes m zmölnig wrote: recently I also had a need for a read-only [drawnumber] "-x" would be the obvious flag to achieve this, i guess? Yes, that would make sense. ... not sure whether "-xr" and -"xe" would also be required then. I don't see a reason why not. Roman --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/TI775OOV225XGIHIKSHIMM7LLENUBPZP/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/T2AGVQWWOXOYXNPDMJA4E3MUVYNXAEB7/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
On 3/16/26 9:28 AM, Roman Haefeli wrote: On Mon, 2026-03-16 at 12:58 +, Ben Wesch wrote: IOhannes m zmölnig wrote: recently I also had a need for a read-only [drawnumber] "-x" would be the obvious flag to achieve this, i guess? Yes, that would make sense. ... not sure whether "-xr" and -"xe" would also be required then. I don't see a reason why not. Roman And just to add some more confusion... it might be nice for "drawtext" and "drawsymbol" to accept _single_ clicks, which now do nothing when in run mode, to select the text in the way double clicks do for drawnumber. But also useful to be able to turn off that behavior. --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/ZCHOC3JS3TILDKWWYZWNOTRSUX66WR26/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
On Mon, 2026-03-16 at 12:58 +, Ben Wesch wrote: > IOhannes m zmölnig wrote: > > recently I also had a need for a read-only [drawnumber] > > "-x" would be the obvious flag to achieve this, i guess? Yes, that would make sense. > ... not sure whether "-xr" and -"xe" would also be required then. I don't see a reason why not. Roman signature.asc Description: This is a digitally signed message part --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/TI775OOV225XGIHIKSHIMM7LLENUBPZP/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
IOhannes m zmölnig wrote: > recently I also had a need for a read-only [drawnumber] "-x" would be the obvious flag to achieve this, i guess? ... not sure whether "-xr" and -"xe" would also be required then. --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/PCOZHQ7FENKB3SUO24G7ODEQQIZVZ2KH/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
Am 16. März 2026 11:56:37 MEZ schrieb "João Pais" : >that is a good idea, but what about to disable the complete gui interaction >for a scalar when necessary? recently I also had a need for a read-only [drawnumber] mfg.sfg.jfd IOhannes --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/XW2FUL4WQBRN3UUE6RCGIPSD3C57UI3O/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
that is a good idea, but what about to disable the complete gui interaction for a scalar when necessary? maybe too complex to define individual interaction details, or this conflicts with the cases you mentioned? If yes, then could make sense to disable text input, and add an extra case to disable x/y/etc. graphic editing. Am Sa., 14. März 2026 um 22:13 Uhr schrieb Roman Haefeli : > Hey all > > Recent versions of Pd allow you to edit scalars of [drawsymbol] and > [drawnumber]. It turns out to be quite a headache for patches that use > clickable scalars with [drawsynmbol]/[drawnumber]. Often when clicking, > the text/number gets the click, stealing it from the intended click > action. I use double clicks to remove notes in a sequencer, but if the > number is double-clicked, the text comes gray and thus prevents the > intended delete action. In another case I use '+' as a label for a > button that adds segments. Now you cannot quickly add segments because > the the text becomes hi-lighted and receives the clicks. > > Illustrations: > https://netpd.org/~roman/tmp/gop-pains/drawnumber-stealing-doublclick.webm > https://netpd.org/~roman/tmp/gop-pains/drawsymbol-stealing-doublclick.webm > > > Before opening issues on Github, I'd like to check what the wider view > on this is. I see how editing text could be useful, however I very much > would welcome a flag to disable it. Could that be a way to deal with > this? > > Thanks, > Roman > > --- > [email protected] - the Pure Data mailinglist > > https://lists.iem.at/hyperkitty/list/[email protected]/message/Y2G4WHE6EEPS44YZ3QNTCL73HNTWN2R3/ > > To unsubscribe send an email to [email protected] mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/WE7DZKRZT37PTO66ZY3PZ6F2ZWZOHNNF/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
[PD] Re: drawsymbol, drawnumber editable in run mode
On Sat, Mar 14, 2026 at 10:13 PM Roman Haefeli wrote: > > would welcome a flag to disable it. Could that be a way to deal with > this? i mainly worked with shape drawing so far - so i didn't experience the issue yet. but the solution seems reasonable to me. something like these would be in line with the disabling flags for shape drawing, i guess? "-xt": disable text selection "-xe": disable editing (but "editing" might not be specific enough?) cheers, ben --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/SGYNZO3WGNRROIKPCB6FKTM4DVVNKW2S/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
