Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix popup window ordering problem #4360

Merged
merged 1 commit into from Jul 8, 2020
Merged

Conversation

jmacxx
Copy link
Contributor

@jmacxx jmacxx commented Jul 7, 2020

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.

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.

Fixes #4293

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.

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.

Fixes bisq-network#4293
Copy link
Member

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK - Good catch!

@ripcurlx ripcurlx merged commit 618e797 into bisq-network:master Jul 8, 2020
@ripcurlx ripcurlx added this to the v1.3.7 milestone Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rel/v1.3.5 TestCase restore wallet from seed at app startup failed (regtest/dev mode only)
2 participants