Patches item #1952001, was opened at 2008-04-25 19:57 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1952001...
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: feature
Status: Closed
Resolution: Works For Me Priority: 5 Private: No Submitted By: Luke Iannini (lukeiannini) Assigned to: Miller Puckette (millerpuckette) Summary: on OSX, made canvas windows show dirty in OS-native style
Initial Comment: This is a patch to add proxy icons (a tiny representation of the file being worked on in the window's titlebar; it can be dragged to grab a reference to the file for drag and drop, or right/command-clicked to get the parent folders of the file). The patch also adds a dot in the close button when the Pdpatch is dirty, consistent with other OS X apps.
The patch is untested; Pd-Vanilla doesn't seem to support the Tk attributes necessary (for reasons I don't understand), but Pd-Extended does (hardwiring wm attributes $name -modified 0 -titlepath {insertPathHere} in pd.tk's pdtk_canvas_new works in pd-e but not in pd-v).
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-08-21 14:01
Message: Yes indeed, its true!
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2010-08-21 12:54
Message: This patch has either been incorporated into pd-gui-rewrite pd-devel 0.43 or made irrelevant by it.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-04-28 12:41
Message: Logged In: YES user_id=27104 Originator: NO
added to branches/pd-extended/0.40
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-04-27 20:20
Message: Logged In: YES user_id=27104 Originator: NO
I uploaded a version of Luke Iannini's proxy_icon_and_modified_state.patch fixed to eliminate crash (caused by using %f in sys_vgui for an int value). Also, made the title bar fully Mac OS X-style.
Pd-vanilla uses an old version of Tcl/Tk, that's probably why it doesn't work there. If Pd-vanilla is built against a recent version of Tcl/Tk, then I'll bet it'd work. File Added: proxy_icon_and_modified_state-0.41.4.patch
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-04-26 20:34
Message: Logged In: YES user_id=27104 Originator: NO
I tried this with the latest from branches/pd-extended/v0-40 and I am getting a lot of crashes. It didn't seem to change the window behavior either. Are there some changes to u_main.tk that are missing from the patch, perhaps? I'll try to troubleshoot it more later.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1952001...