<?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[Odd progress bar window behaviour]]></title><description><![CDATA[<p dir="auto">Hi Frederik, Hi RoboFont users,</p>
<p dir="auto">I am working on a progress bar window to use inside an extension for processes that requires more than a bunch of seconds to be accomplished.</p>
<p dir="auto">I’d like to have in this window some indicators more than just the progress bar, like percentage, process description, time counter and so on.</p>
<p dir="auto">So, this is the first version of the progress bar that I wrote:<br />
<a href="https://gist.github.com/roberto-arista/e2f82669cff09c64960a" rel="nofollow">https://gist.github.com/roberto-arista/e2f82669cff09c64960a</a></p>
<p dir="auto">But if you run it, you can easily notice that percentage and time counter do not update.<br />
At least not in my Robofont or Drawbot installations.</p>
<p dir="auto">Instead, if I hide and show the window each cycle of the for loop, the two <code>TextBox</code> objects are updated:<br />
<a href="https://gist.github.com/roberto-arista/ee737aa745d776f84a22" rel="nofollow">https://gist.github.com/roberto-arista/ee737aa745d776f84a22</a></p>
<p dir="auto">What’s happening here?<br />
Am I doing something wrong?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.robofont.com/topic/379/odd-progress-bar-window-behaviour</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 21:00:00 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/379.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 May 2015 11:13:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Odd progress bar window behaviour on Wed, 03 Jan 2018 17:31:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi Frederik, Hi RoboFont users,</p>
<p dir="auto">I am working on a progress bar window to use inside an extension for processes that requires more than a bunch of seconds to be accomplished.</p>
<p dir="auto">I’d like to have in this window some indicators more than just the progress bar, like percentage, process description, time counter and so on.</p>
<p dir="auto">So, this is the first version of the progress bar that I wrote:<br />
<a href="https://gist.github.com/roberto-arista/e2f82669cff09c64960a" rel="nofollow">https://gist.github.com/roberto-arista/e2f82669cff09c64960a</a></p>
<p dir="auto">But if you run it, you can easily notice that percentage and time counter do not update.<br />
At least not in my Robofont or Drawbot installations.</p>
<p dir="auto">Instead, if I hide and show the window each cycle of the for loop, the two <code>TextBox</code> objects are updated:<br />
<a href="https://gist.github.com/roberto-arista/ee737aa745d776f84a22" rel="nofollow">https://gist.github.com/roberto-arista/ee737aa745d776f84a22</a></p>
<p dir="auto">What’s happening here?<br />
Am I doing something wrong?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.robofont.com/post/378</link><guid isPermaLink="true">https://forum.robofont.com/post/378</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 03 Jan 2018 17:31:04 GMT</pubDate></item><item><title><![CDATA[Reply to Odd progress bar window behaviour on Wed, 03 Jan 2018 17:31:38 GMT]]></title><description><![CDATA[<p dir="auto">Due to optimisations a text will not update directly cause it is receiving lots of updates in a short time.</p>
<p dir="auto">You will have to force the text view to update</p>
<p dir="auto">see <a href="https://github.com/typesupply/defconAppKit/blob/master/Lib/defconAppKit/windows/progressWindow.py#L27-L31" rel="nofollow">https://github.com/typesupply/defconAppKit/blob/master/Lib/defconAppKit/windows/progressWindow.py#L27-L31</a></p>
<p dir="auto">instead of using the private <code>_nsObject</code> I would encourage you to use <code>getNSTextField()</code></p>
<p dir="auto">good luck</p>
]]></description><link>https://forum.robofont.com/post/1366</link><guid isPermaLink="true">https://forum.robofont.com/post/1366</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 03 Jan 2018 17:31:38 GMT</pubDate></item><item><title><![CDATA[Reply to Odd progress bar window behaviour on Sat, 23 May 2015 06:20:59 GMT]]></title><description><![CDATA[<p dir="auto">It works!<br />
Thanks :)</p>
]]></description><link>https://forum.robofont.com/post/1367</link><guid isPermaLink="true">https://forum.robofont.com/post/1367</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 23 May 2015 06:20:59 GMT</pubDate></item></channel></rss>