<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 1/3/2022 11:29 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:43314273-aedd-eb32-7fc1-ecd2ea31b1a5@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="+1">It helps. However, it still does not work. I
observed that even the startup script below doesn't work:</font></p>
<p>| list |<br>
"System configurations"<br>
"Delete all windows but the taskbar"<br>
list := UISupervisor ui submorphs reject: [:aMorph | aMorph is:
#TaskbarMorph].<br>
list do: [:each | each delete].</p>
<p>Hilaire<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 03/01/2022 à 15:03, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:61D30249.20805@jvuletich.org">
It looks like assuming the Taskbar will be the first submorph of
the world is not reliable. Something like `morph := UISupervisor
ui taskbar.` should work.<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
I'm not sure how you are running this, but I see two different ways
to query for the world: `UISupervisor ui` and `self runningWorld`.
At the early phase of start up these could fail, and maybe
`WorldMorph allInstancesDo: [ :w | w doStuff ]` is safer.<br>
<br>
In any case, I didn't change any of this for Cuis 6. But maybe some
changes in the recent morph hierarchy reorganization is the reason.<br>
<br>
Hope this helps. <br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
@JuanVuletich</pre>
</body>
</html>