<body><div id="__MailbirdStyleContent" style="font-size: 12pt;font-family: Calibri;color: #000000">
                                        Hi Jakob,<div><br></div><div>does the change in <span style="font-family: Tahoma, Verdana;font-size: 13px;line-height: 19.5px">Morphic-mt.1441 work for you?</span></div><div><span style="font-family: Tahoma, Verdana;font-size: 13px;line-height: 19.5px"><br></span></div><div><span style="font-family: Tahoma, Verdana;font-size: 13px;line-height: 19.5px">Best,</span></div><div><span style="font-family: Tahoma, Verdana;font-size: 13px;line-height: 19.5px">Marcel</span></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 21.04.2018 13:56:35 schrieb Jakob Reschke <forums.jakob@resfarm.de>:</p>Hi all,<br><br>I wanted to open the yellow button menu on an empty PluggableTreeMorph<br>(the SqueakMap catalog's package list to be precise, but I assume it<br>does not matter) and wanted to do so by pressing the escape key and<br>got the stack trace below.<br><br>The scroller of the PluggableTreeMorph is a TransformMorph, but it has<br>no submorphs if the tree is empty. Thus, in<br>numberOfItemsPotentiallyInView the localSubmorphBounds are nil, and<br>even if they were not, the next error would be a division by zero. The<br>TransformMorph does not expect to have no submorphs.<br><br>However, the real problem might be (or might not be) that a<br>PluggableTreeMorph behaves differently from a PluggableListMorph in<br>response to pressing Esc. The latter opens the yellow button menu,<br>while the tree morph does not treat Esc specially at all. It uses it<br>for list filtering instead, like any typed character. So effectively,<br>the Esc key in a tree morph is currently the "expand this node and<br>select the first child" key. I like the menu behavior from list morphs<br>better... What is your opinion?<br><br>Kind regards,<br>Jakob<br><br><br>UndefinedObject(Object)>>doesNotUnderstand: #height<br>TransformMorph>>numberOfItemsPotentiallyInView<br>PluggableTreeMorph(ScrollPane)>>numSelectionsInView<br>PluggableTreeMorph(SimpleHierarchicalListMorph)>>arrowKey:<br>PluggableTreeMorph(SimpleHierarchicalListMorph)>>specialKeyPressed:<br>PluggableTreeMorph>>specialKeyPressed:<br>PluggableTreeMorph(SimpleHierarchicalListMorph)>>keyStroke:<br>PluggableTreeMorph>>keyStroke:<br>PluggableTreeMorph(Morph)>>handleKeystroke:<br>KeyboardEvent>>sentTo:<br>PluggableTreeMorph(Morph)>>handleEvent:<br>PluggableTreeMorph(Morph)>>handleFocusEvent:<br>MorphicEventDispatcher>>doHandlingForFocusEvent:with:<br>MorphicEventDispatcher>>dispatchFocusEvent:with:<br>PluggableTreeMorph(Morph)>>processFocusEvent:using:<br>PluggableTreeMorph(Morph)>>processFocusEvent:<br>[] in [] in [] in HandMorph>>sendFocusEvent:to:clear:<br>BlockClosure>>ensure:<br>KeyboardEvent(MorphicEvent)>>becomeActiveDuring:<br>[] in [] in HandMorph>>sendFocusEvent:to:clear:<br><br>
                        </blockquote>
                                        </div></body>