Patches item #1722081, was opened at 2007-05-20 11:27 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1722081...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update.
Category: puredata
Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Luke Iannini (lukeiannini)
Assigned to: Miller Puckette (millerpuckette)
Summary: [Editmode 0( toggles rather than turns off editmode
Initial Comment: Hallo, Simple enough... sending [editmode 0( to a subpatch toggles the edit-mode state of the subpatch, rather than turning it off.
[editmode 1( works fine, reliably enabling (and never disabling) editmode.
Ah! That makes me realize the workaround is to send [editmode 1(, then [editmode 0(. Regardless, this should be fixed!
Demonstration is attached (move mouse around to see the cursor change).
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-10-01 13:36
Message: Logged In: YES user_id=564396 Originator: NO
the attached patch (editmode_toggle.patch) introduces 3 states: 0: turn OFF editmode 1: turn ON editmode everything else: toggle editmode
the pd-gui (u_main.tk) has also been udated to use "-1" when toggling editmode. File Added: editmode_toggle.patch
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2007-10-01 13:33
Message: Logged In: YES user_id=564396 Originator: NO
actually this is not really a bug: Pd internally uses "editmode 0" to toggle between the 2 states (e.g. when you press "Control-E"); so the behaviour you described is intended!
the inffocial "pd-msg" documentation should be updated to reflect this.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1722081...