[PD-dev] [ pure-data-Patches-1722081 ] [Editmode 0( toggles rather than turns off editmode

SourceForge.net noreply at sourceforge.net
Mon Jan 11 17:23:52 CET 2010


Patches item #1722081, was opened at 2007-05-20 05:27
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1722081&group_id=55736

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: Hans-Christoph Steiner (eighthave)
Date: 2010-01-11 11:23

Message:
Included in pd-gui-rewrite/0.43 branch, should make it into vanilla:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=12950

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2007-10-01 07: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 zmlnig (zmoelnig)
Date: 2007-10-01 07: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&group_id=55736




More information about the Pd-dev mailing list