<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[removing edit focus on atom when hiding gop using donecanvasdialog]]></title><description><![CDATA[<p>Hello, I've got some nested donecanvasdialogs controlling subpatches which I'm using to control different parameters of the same job. I'm using floatatoms to enter the values but when I close the subpatches (using escape via keyname) I get...<br />
(Tcl) INVALID COMMAND NAME: invalid command name &quot;.x96979f400.c&quot;<br />
while executing<br />
&quot;$tkcanvas focus $tag&quot;<br />
(procedure &quot;pdtk_text_editing&quot; line 4)<br />
invoked from within<br />
&quot;pdtk_text_editing .x96979f400 {.x969564000.t967c0a380} 1 &quot;<br />
(&quot;uplevel&quot; body line 53)<br />
invoked from within<br />
&quot;uplevel #0 $docmds&quot;(Tcl) UNHANDLED ERROR: bad window path name &quot;.x96979f400.c&quot;<br />
while executing<br />
&quot;selection clear $tkcanvas&quot;<br />
(procedure &quot;pdtk_text_editing&quot; line 3)<br />
invoked from within<br />
&quot;pdtk_text_editing .x96979f400 {} 0 &quot;<br />
(&quot;uplevel&quot; body line 1)<br />
invoked from within<br />
&quot;uplevel #0 $docmds&quot;</p>
<p>This doesn't happen when I click outside the floatatom to deselect it before pressing escape. Does anyone have any suggestions as to how I can get the floatatom to lose edit focus after I've committed the input?</p>
<p>Thank you in advance</p>
<p>~~</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 08:35:51 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15849.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Apr 2026 15:21:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to removing edit focus on atom when hiding gop using donecanvasdialog on Sun, 12 Apr 2026 15:21:18 GMT]]></title><description><![CDATA[<p>Hello, I've got some nested donecanvasdialogs controlling subpatches which I'm using to control different parameters of the same job. I'm using floatatoms to enter the values but when I close the subpatches (using escape via keyname) I get...<br />
(Tcl) INVALID COMMAND NAME: invalid command name &quot;.x96979f400.c&quot;<br />
while executing<br />
&quot;$tkcanvas focus $tag&quot;<br />
(procedure &quot;pdtk_text_editing&quot; line 4)<br />
invoked from within<br />
&quot;pdtk_text_editing .x96979f400 {.x969564000.t967c0a380} 1 &quot;<br />
(&quot;uplevel&quot; body line 53)<br />
invoked from within<br />
&quot;uplevel #0 $docmds&quot;(Tcl) UNHANDLED ERROR: bad window path name &quot;.x96979f400.c&quot;<br />
while executing<br />
&quot;selection clear $tkcanvas&quot;<br />
(procedure &quot;pdtk_text_editing&quot; line 3)<br />
invoked from within<br />
&quot;pdtk_text_editing .x96979f400 {} 0 &quot;<br />
(&quot;uplevel&quot; body line 1)<br />
invoked from within<br />
&quot;uplevel #0 $docmds&quot;</p>
<p>This doesn't happen when I click outside the floatatom to deselect it before pressing escape. Does anyone have any suggestions as to how I can get the floatatom to lose edit focus after I've committed the input?</p>
<p>Thank you in advance</p>
<p>~~</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog</guid><dc:creator><![CDATA[tildebrow]]></dc:creator><pubDate>Sun, 12 Apr 2026 15:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to removing edit focus on atom when hiding gop using donecanvasdialog on Sun, 12 Apr 2026 16:18:18 GMT]]></title><description><![CDATA[<p><a href="/uploads/files/1776010464455-editfocuserror.pd">editFocusError.pd</a></p>
<p>Here is a patch demonstrating the error message. Warning: PD requires a quit and restart after the error.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/2</guid><dc:creator><![CDATA[tildebrow]]></dc:creator><pubDate>Sun, 12 Apr 2026 16:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to removing edit focus on atom when hiding gop using donecanvasdialog on Sun, 12 Apr 2026 16:21:40 GMT]]></title><description><![CDATA[<p>for those who don't want to get their console mucky...<br />
<img src="/uploads/files/1776010855667-screenshot-2026-04-12-at-17.18.57.png" alt="Screenshot 2026-04-12 at 17.18.57.png" class="img-responsive img-markdown" /> <img src="/uploads/files/1776010870886-screenshot-2026-04-12-at-17.19.24.png" alt="Screenshot 2026-04-12 at 17.19.24.png" class="img-responsive img-markdown" /> <img src="/uploads/files/1776010887216-screenshot-2026-04-12-at-17.19.48.png" alt="Screenshot 2026-04-12 at 17.19.48.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/3</guid><dc:creator><![CDATA[tildebrow]]></dc:creator><pubDate>Sun, 12 Apr 2026 16:21:40 GMT</pubDate></item><item><title><![CDATA[Reply to removing edit focus on atom when hiding gop using donecanvasdialog on Sun, 12 Apr 2026 18:26:28 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/tildebrow">@tildebrow</a> Not getting such errors in windows with pd extended or vanilla..... but I think it is not working as you expect either.</p>
<p>It is easier to do this though to hide the window......... <a href="/uploads/files/1776017746012-hmm.pd">hmm.pd</a><br />
To remove edit focus before closing also send &quot;editmode 0&quot;</p>
<p>So<br />
[;<br />
pd-$2-subpatch editmode 0, vis $1(</p>
<p>If you want it in editmode as it opens..<br />
[;<br />
pd-$2-subpatch editmode $1, vis $1(</p>
<p>David.</p>
<p><img src="/uploads/files/1776017765599-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 12 Apr 2026 18:26:28 GMT</pubDate></item><item><title><![CDATA[Reply to removing edit focus on atom when hiding gop using donecanvasdialog on Sun, 12 Apr 2026 19:01:31 GMT]]></title><description><![CDATA[<p>Thank you <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a>, that certainly helps. I didn't know about edit mode and although on my computer and version of PD it doesn't remove edit focus from the floatatom it is something I'll find useful in future. The subpatch opening in a new window and being closed using esc even when floatatom has edit focus does work and I don't get the error message so thank you.<br />
<a href="/uploads/files/1776020253628-esctoclose.pd">escToClose.pd</a></p>
<p>I needed the floatatom to appear as a gop rather than in a separate window but I think I'll just have a commit button to take focus off the floatatom and hide the gop and floatatom input can provide a preview of the result before commit.</p>
<p>Thanks as always, much appreciated.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15849/removing-edit-focus-on-atom-when-hiding-gop-using-donecanvasdialog/5</guid><dc:creator><![CDATA[tildebrow]]></dc:creator><pubDate>Sun, 12 Apr 2026 19:01:31 GMT</pubDate></item></channel></rss>