[PD-dev] [ pure-data-Patches-3587404 ] ability to start multiple pd-guis

SourceForge.net noreply at sourceforge.net
Tue Dec 18 14:18:19 CET 2012


Patches item #3587404, was opened at 2012-11-14 22:29
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3587404&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: IOhannes m zmölnig (zmoelnig)
>Assigned to: Nobody/Anonymous (nobody)
Summary: ability to start multiple pd-guis

Initial Comment:
starting with Pd-0.43, pd-gui checks whether it is already running and tries to reconnect to the existing one.

while this is ok in some situations, it is an issue in other situations:
- when starting multiple instances of Pd on different desktops (i'm using the xfce window manager), the new instance will automatically focus the desktop of the already-running instance, which makes it difficult to separate those instances again (assuming that each instance has a number of windows open on startup)
- when using pd-gui to connect to a remote pd-core (while another instance of Pd is running on the same machines) is practically prohibited by this behaviour

it would be great if one could turn of this feature (at least when starting from the cmdline; and esp. when a <remotehost>:<remotport> is given...currently there is onl a check for remotport>5400 (when starting without <remotehost>)

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

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-12-17 09:37

Message:
I don't think that's a good enough test.  The one you removed is much
stricter: $argc == 1   When pd starts pd-gui, it only sends one arg: the
port number.  If you want this to affect only remote connections, shouldn't
you make the test based on ::host?

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

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-12-17 08:37

Message:
attached is a patch (against todays git/master) that doesn't try to connect
to a running instance if the user provided a remoteport to connect to.

it re-uses the logic already implemented in parse_args().

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

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-12-14 20:25

Message:
Since you are the master of remote pd-guis, IOhannes, I'm assigning this to
you.  It makes sense to me to base it on the host:port arg.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3587404&group_id=55736



More information about the Pd-dev mailing list