<p>There is a race condition in PopupManager when with a stack of 2 popups, the top popup is being replaced by another top-level popup. The base layer popup ends up on top of the z-order, obscuring the correct one.</p>
<p>The race condition in PopupManager was within the onHidden() method which invokes the next window in the queue.  The call to displayNext() needs to be asynchronous so that a newer popup can take precedence.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4293.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="637152978" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4293" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/4293/hovercard" href="https://github.com/bisq-network/bisq/issues/4293">#4293</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4360'>https://github.com/bisq-network/bisq/pull/4360</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix popup window ordering problem</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4360/files#diff-483be6d5d79f8ef0261af7150437ae8c">desktop/src/main/java/bisq/desktop/main/overlays/popups/PopupManager.java</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4360.patch'>https://github.com/bisq-network/bisq/pull/4360.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4360.diff'>https://github.com/bisq-network/bisq/pull/4360.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4360">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNR7SR7YG2PVISEBYP3R2OKM7ANCNFSM4OTWM4MA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNT7K3PIAGRRQMJOERTR2OKM7A5CNFSM4OTWM4MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JXHBPTA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4360",
"url": "https://github.com/bisq-network/bisq/pull/4360",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>