<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div>Everything is working quite well.  My only issue with it is what I mentioned before, the popup text entry box for editing.  But it is definitely usable as it is now.</div><div><br></div><div>Thanks for taking this on!</div><div><br></div><div>.hc</div><br><div><div>On May 25, 2008, at 2:22 AM, David Golightly wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Since it's been a few days since my last update, and I haven't received any responses, I submitted patch #1971585 to SourceForge, including the updates to the Path and Startup dialogs.  Any further suggestions are still welcome; I will be investigating consolidation of the 4 preferences dialogs into a tabbed dialog of some sort (a la Tk notebook).  However, perhaps an earlier priority for me will be figuring out some improvements to GUI control dialogs; perhaps bulk-editing/updates modeled (I think) on the iTunes UI for editing the metadata on multiple songs.<br> <br>Anyways, thank you to everyone who offered feedback and code reviews to my efforts!  Much appreciated.  I'm grateful to be able to contribute code to a piece of software that has been so useful to me in the past.<br> <br>Best,<br>David<br><br><br><div class="gmail_quote">On Wed, May 21, 2008 at 8:50 PM, David Golightly &lt;<a href="mailto:davigoli@gmail.com">davigoli@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Ok, how does this look?<br><br>I was still unable to reproduce the clicking bug, but I changed the code to avoid the scenario that your stack trace seems to indicate as the problem, hopefully you won't see it any more.<br> <br>Turns out I also have Tcl/Tk <a href="http://8.4.7." target="_blank">8.4.7.</a>  Don't know where I got the idea I had 8.5 installed.  So it seems either the tcllib or the Tile/ttk widgets might be a good bet for the next revision to these dialogs.  One goal here also I think is to eventually provide a good basis for further customization of the Pd environment and UI, which will of course require someone to delve in the C for some of it, although perhaps to the extent that some customization can be done in pure Tcl/Tk, C work can be avoided.  <br> <br>Thanks again,<br><font color="#888888"><br>David</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Tue, May 20, 2008 at 3:00 AM, Hans-Christoph Steiner &lt;<a href="mailto:hans@eds.org" target="_blank">hans@eds.org</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <div><br></div><div>Just tried your new version, very nice, I think it's sorted, except one tiny bug with the resizing of "Add new startup command".  I think you'll want to set a minimum window width, since you can resize it smaller and make the OK button disappear.</div> <div><br></div><div>You might look into the Tile/ttk widgets, they are now included in Tcl/Tk 8.5.  I'd like to use 8.5 for Pd-extended 0.41, so they would be there.  For example, a ttk::notebook could be used to host all of the pref panes into a single window.</div> <div><br></div><div>About the error, I just dropped your <a href="http://u_main.tk" target="_blank">u_main.tk</a> into Pd-vanilla 0.41-4, so that uses the version of Tcl/Tk included with Mac OS X, <a href="http://8.4.7." target="_blank">8.4.7.</a>  I have Tcl/Tk 8.4.18 installed, it might be using that.  But I definitely don't have 8.5  Here's the error:</div> <div><br></div><div>Startup panel:</div><div><br></div><div>can't use empty string as operand of "+"</div><div>can't use empty string as operand of "+"</div><div>    while executing</div><div> "expr {$height + $top}"</div> <div>    (procedure "ScrollBox::dbl_click" line 8)</div><div>    invoked from within</div><div>"ScrollBox::dbl_click .gfxstub5b1230 dlg_Startup::edit dlg_Startup::add 65 45"</div><div>    (command bound to event)</div> <div><br></div><div>Path pane:</div><div><br></div><div><div>can't use empty string as operand of "+"</div><div>can't use empty string as operand of "+"</div><div>    while executing</div><div> "expr {$height + $top}"</div><div>    (procedure "ScrollBox::dbl_click" line 8)</div><div>    invoked from within</div><div>"ScrollBox::dbl_click .gfxstub5b1930 dlg_Path::edit dlg_Path::add 81 42"</div> <div>    (command bound to event)</div></div><div><br></div><div>.hc</div><div><div></div><div><div><br></div><div><br></div><div><div>On May 20, 2008, at 8:32 AM, David Golightly wrote:</div><br><blockquote type="cite"> PS I was unable to reproduce that issue where you saw an error message from clicking on an empty cell.  For me, clicking on empty cells just brought up the "Add new item" dialog.  Could this be a difference of platform/TclTk version?  I'm running 8.5 on OS X 10.4.  I'd also like to get the specific error message if you can get it.<br>  <br>Thanks,<br><br>David<br><br><div class="gmail_quote">On Mon, May 19, 2008 at 10:07 PM, David Golightly &lt;<a href="mailto:davigoli@gmail.com" target="_blank">davigoli@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  Here's a revised copy with a few minor changes (the "startup flags" field now expands to fill the window, you can resize the startup command popup arbitrarily).<br><br>I'm wondering about the protocol of introducing dependencies in PD.  It seems that BWidget gives us a widget that we can use for the listbox (<a href="http://tcllib.sourceforge.net/BWman/ListBox.html" target="_blank">http://tcllib.sourceforge.net/BWman/ListBox.html</a>), however, it's perhaps not distributed with older distributions of Tcl/Tk.  BWidget is distributed with Tcllib, which is apparently a default library packaged with most installs of Tcl, <a href="http://wiki.tcl.tk/12099" target="_blank">http://wiki.tcl.tk/12099</a> says that it comes by default with the ActiveState distro, with .deb and .rpm packages, and it was installed by default on my Mac OS X 10.4 distribution.  But it's not guaranteed to be installed with ALL distributions of Tcl/Tk - I just have no idea exactly how many users might lack it.<br>  <br>Failing that, the popup should behave exactly as inline editing does, even though it looks a little strange.  You can still use the keyboard to navigate: down, down, enter, type, enter, up, enter, esc...  Just think of it as inline listbox editing with extra window chrome :)<div>  <div></div><div><br> <br><br><div class="gmail_quote">On Mon, May 19, 2008 at 11:37 AM, Hans-Christoph Steiner &lt;<a href="mailto:hans@eds.org" target="_blank">hans@eds.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  <div><div> <div style="margin: 0px;"><br></div><div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3">Oops, found a little bug:  double-clicking on an empty cell through up an error dialog.  </font></div>  <div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3">Also, an idea: if you just draw that popup entry box just below the listbox with the OK button, add a Cancel button, then use "pack forget" when the user hits OK or Cancel.  Just a thought.  That mini-popup window is the only thing about these panels that is weird, I guess that why I still am thinking about how to ditch it. </font></div>  <div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3">.hc</font></div>  <div><br></div></div><div><div></div><div><div><div>On May 19, 2008, at 7:09 PM, Hans-Christoph Steiner wrote:</div><br><blockquote type="cite"> <div><br></div><div>Looks good to me.  This is already a massive improvement over what is there.  I don't know if you are sick of working on it, but I thought I'd throw a couple of minor ideas:</div>  <div><br></div><div>- it would be useful if the "startup flags" entry widget would stretch with the resizing window.  Then you could see more of those flags.</div><div><br></div><div>- perhaps the windows should open above the Pd window instead of the center of the screen?  I think you can get that info using [winfo rootx .] and [winfo rooty .]</div>  <div><br></div><div>.hc</div><br><div><div>On May 18, 2008, at 7:26 PM, David Golightly wrote:</div><br><blockquote type="cite">As requested, I've put back the "Edit" and "Delete" buttons and added BackSpace as a Delete event for Mac OS X.  I couldn't get Cmd-BackSpace to fire effectively, but perhaps someone knows something I don't about getting that to work.<br>   <br><br><div class="gmail_quote">On Sun, May 18, 2008 at 7:15 AM, Hans-Christoph Steiner &lt;<a href="mailto:hans@eds.org" target="_blank">hans@eds.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">   <div> <div><br></div><div>Very nice!  The mouse/keyboard interactive is well done, I only worry that the buttons are now too sparse.  I think delete and edit buttons would still be useful, maybe people don't use keyboard shortcuts at all.</div>   <div><br></div><div>Also, on Mac OS X, Delete is not commonly used, so it would be good to also have BackSpace work for deleting.  Or maybe Cmd-BackSpace since that is what is used for deleting in the Finder.</div><div>  <br> </div><div><br></div><div>.hc</div><br><div><div><div></div><div><div>On May 18, 2008, at 9:46 AM, David Golightly wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div>A note on the latest changes: I removed all the list manipulation buttons and added the following bindings:<br>   <br>- The list items can be re-ordered by drag-and-drop.<br>- Clicking on a list item allows you to edit it.<br> - Clicking anywhere else in the listbox allows you to add a new list item.<br>- You can also traverse the list using up and down arrow keys, then press "Enter" to change the selected item.<br>   - Press "Delete" to delete the currently selected list item.<br> <br>I kept around the "New..." button, since it may not be immediately obvious to newbies how to add new things to the list.<br><br>I also removed the "Save all settings" button and folded its action in to the "Apply" command (and, by extension, the OK command).  I played around with trying to get an in-place editable listbox control for the Startup dialog, but to no avail - it's apparently no trivial task in Tcl/Tk.  Perhaps for a future revision.  However, the popup dialog functions effective the same, as "Enter" will submit your edit and "Esc" will cancel; once you get used to it it shouldn't be much different.<br>   <br>I'm also now centering the dialog windows on the screen.  I'd like to do this also (especially) for the "Properties" dialogs that are used to edit GUI controls.  Tk like to try and "cascade" new dialogs as they appear; this is too clever by half, and really annoying once if you do a lot of editing.  But I've only tested this centering behavior on my own Macbook 15" screen, so it would be great if others could verify it's still usable on other screen sizes.<br>   <br>One other thing: these dialogs can now be resized, but they appear at their minimum size, so you can't shrink them any further (you can only expand them).<br><br>Please let me know what you think and as always let me know if you run into any trouble!<br>   <br>Thanks,<br>David<br><br><br><div class="gmail_quote">On Sat, May 17, 2008 at 6:06 PM, David Golightly &lt;<a href="mailto:davigoli@gmail.com" target="_blank">davigoli@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">   Ok, with the path/startup dialogs, this is about the feature set I'd like to end up with for now.  Please, everyone, review it for usability &amp; obvious bugs, and if it looks good I'll submit it as a patch.<br>   <br> Thanks,<br><font color="#888888"><br>David</font><div><div></div><div><br><br><br><div class="gmail_quote">On Tue, May 13, 2008 at 11:53 PM, Steffen Juul &lt;<a href="mailto:stffn@dibidut.dk" target="_blank">stffn@dibidut.dk</a>> wrote:<br>   <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div><br> On 14/05/2008, at 0.16, marius schebella wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">   David Golightly wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Keep in mind I'm<br> still learning Tcl/Tk, so some of these ideas, while excellent, are a<br>   little beyond my technical grasp at this point and may be improvements<br> that we make incrementally over time.  Also, I have a limited amount of<br> my time to budget for this kind of work<br> </blockquote> <br> david,<br>   if you spend 1 hour on coding and one hour on documenting of how to get<br> to that step, (instead of 2 hours coding), then the chance that more<br> people will be able to jump in is bigger. tcl/tk is new to most people.<br>   being able to concentrate on design and ui aspects would make life<br> easier. the hard part is to get started.<br> </blockquote> <br></div></div> Especially since the names in Tk are to my experience somewhat different to what one put in the search bar, ie. of my/your(?)/normal vocabulary.<br>   <br> Example: tabs ~= notebook. See <a href="http://wiki.tcl.tk/2298" target="_blank">http://wiki.tcl.tk/2298</a><br> </blockquote></div><br> </div></div></blockquote></div><br></div></div><div><div style="margin: 0px;">   _______________________________________________</div><div style="margin: 0px;"><a href="mailto:PD-list@iem.at" target="_blank">PD-list@iem.at</a> mailing list</div><div style="margin: 0px;">UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a></div>   </div></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>   <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>   <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers.      - General Smedley Butler</div>   <br></span></span> </div><br></div></blockquote></div><br><span>&lt;<a href="http://u_main.tk" target="_blank">u_main.tk</a>></span></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>  <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>  <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity."        -John Gilmore</div>  <br></span></span> </div><br></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>  </span><div><br></div><div><br></div><div><br></div><div><br></div><div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br></div><div>"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White</div>  <div><br></div><div><br></div><br></div></span> </div><br></div><br>_______________________________________________<br> <a href="mailto:PD-list@iem.at" target="_blank">PD-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>  <br></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div> <br style="font-family: Tahoma;"></div><div>----------------------------------------------------------------------------<br style="font-family: Tahoma;"></div><div><br></div><div>Man has survived hitherto because he was too ignorant to know how to realize his wishes.  Now that he can realize them, he must either change them, or perish.    -William Carlos Williams</div> <br></span></span> </div><br></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br class="khtml-block-placeholder"></div><div>'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf</div><br class="Apple-interchange-newline"></span> </div><br></body></html>