<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Here's what I think is the issue:</p>
<p>The variable </p>
<pre>halo
</pre>
<p>is not initialized before returning</p>
<pre>halo
</pre>
<table class="highlight tab-size js-file-line-container"
data-tab-size="8" data-paste-markdown-skip="" style="box-sizing:
border-box; border-color: rgb(84, 91, 94); border-spacing: 0px;
border-collapse: collapse; tab-size: 8; color: rgb(206, 202, 195);
font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Helvetica, Arial, sans-serif, "Apple Color
Emoji", "Segoe UI Emoji"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(24, 26, 27);
text-decoration-thickness: initial; text-decoration-style:
initial; text-decoration-color: initial;">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box; background-color: initial;">
<td id="LC14" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;">| <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">halo</span> |</td>
</tr>
<tr style="box-sizing: border-box;">
<td id="L15" class="blob-num js-line-number"
data-line-number="15" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC15" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> <span class="pl-k" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-keyword); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">self</span> <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">whenUIinSafeState:</span> [</td>
</tr>
<tr style="box-sizing: border-box; background-color: initial;">
<td id="L16" class="blob-num js-line-number"
data-line-number="16" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC16" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> <span class="pl-k" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-keyword); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">self</span> displayBoundsForHalo <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">ifNotNil:</span> [ <span class="pl-en" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-entity); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">:r</span> |</td>
</tr>
<tr style="box-sizing: border-box;">
<td id="L17" class="blob-num js-line-number"
data-line-number="17" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC17" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> halo _ <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">HaloMorph</span> <span class="pl-k" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-keyword); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">new</span>.</td>
</tr>
<tr style="box-sizing: border-box; background-color: initial;">
<td id="L18" class="blob-num js-line-number"
data-line-number="18" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC18" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> halo <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">popUpFor:</span> <span class="pl-k" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-keyword); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">self</span> <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">event:</span> evt.</td>
</tr>
<tr style="box-sizing: border-box;">
<td id="L19" class="blob-num js-line-number"
data-line-number="19" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC19" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> halo <span class="pl-c1" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-constant); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">morphBounds:</span> r ].</td>
</tr>
<tr style="box-sizing: border-box; background-color: initial;">
<td id="L20" class="blob-num js-line-number"
data-line-number="20" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC20" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> <span class="pl-k" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-keyword); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">self</span> redrawNeeded].</td>
</tr>
<tr style="box-sizing: border-box;">
<td id="L21" class="blob-num js-line-number"
data-line-number="21" style="box-sizing: border-box;
padding: 0px 10px; width: 50px; min-width: 50px;
font-family: SFMono-Regular, Consolas, "Liberation
Mono", Menlo, monospace; font-size: 12px; line-height:
20px; color:
var(--darkreader-text--color-diff-blob-num-text);
text-align: right; white-space: nowrap; vertical-align: top;
cursor: pointer; user-select: none; border-right: 0px
!important;"><br>
</td>
<td id="LC21" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important; font-size: 12px; color: var(--darkreader-text--color-text-primary); overflow-wrap: normal; white-space: pre;"> <i><b><span class="pl-k" style="box-sizing: border-box; color: var(--darkreader-text--color-prettylights-syntax-keyword); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;">^</span></b></i><i><b>halo</b></i></td>
</tr>
</tbody>
</table>
<pre>
</pre>
<p>My GPL-Licensed solution,</p>
<p><br>
</p>
<p>Graham<br>
</p>
<div class="moz-cite-prefix">On 4/3/21 11:37 AM, Pat Foley via
Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DD942BD9-B760-44E5-BDE4-DB97EA00E121@getmailspring.com">
<pre class="moz-quote-pre" wrap="">This changeset somehow breaks halos on menus. ("Somehow", a word that
means here: "I don't understand how.")
You can bring up halos on a menu, but you cannot click on them. You do
not get balloon-help for them. You cannot middle-click again to select submorphs.
((Would rather have submitted a fix myself, but it's way beyond me for now.))
Pat
</pre>
</blockquote>
</body>
</html>