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

Disable the main window toolbar when the modal overlay is shown #30

Merged
merged 2 commits into from
Jul 13, 2020

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Jul 11, 2020

Keeping the main window toolbar activated while the modal overlay is shown could create the appearance of the non-responsive GUI.

Fixes #22.


On master (ca05588):

Screenshot from 2020-07-11 13-07-00

With this PR:

Screenshot from 2020-07-11 13-07-39

@harding
Copy link
Contributor

harding commented Jul 11, 2020

Tested ACK d0cc1f6. Tested on Linux/X11 as much as I could given it's a pretty small change; seems like a nice improvement. I'm not experienced in Qt, but I don't see anything obviously problematic about the code.

@leonardojobim
Copy link

Tested ACK. Tested on Ubuntu 20.04 LTS. It can improve user experience.

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

ACK d0cc1f6 tested on Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux

Might need a macOS and Windows reviewer.

Copy link
Contributor

@LarryRuane LarryRuane left a comment

Choose a reason for hiding this comment

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

ACK d0cc1f6 tested on Ubuntu 18.04.4 LTS
I didn't review the code but verified the behavior with and without the PR, and that src/qt/test/test_bitcoin-qt passes.

@maflcko maflcko merged commit d52bfc4 into bitcoin-core:master Jul 13, 2020
@hebasto hebasto deleted the 200711-actions branch July 13, 2020 08:39
@polylunar
Copy link

Not sure whether it's still helpful but I tested it on MacOS and confirm it worked as well, nicely done @hebasto

@jonatack
Copy link
Member

@polylunar thanks! It is very helpful to review before or after a merge. Great to see and looking forward to more tests and review from you 🚀

sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jul 14, 2020
…odal overlay is shown

d0cc1f6 qt: Disable toolbar when overlay is shown (Hennadii Stepanov)
e74cd20 qt, refactor: Cleanup ModalOverlay slots (Hennadii Stepanov)

Pull request description:

  Keeping the main window toolbar activated while the modal overlay is shown could create the appearance of the non-responsive GUI.

  Fixes #22.

  ---

  On master (ca05588):

  ![Screenshot from 2020-07-11 13-07-00](https://user-images.githubusercontent.com/32963518/87221791-7504e100-c377-11ea-9689-ddd4b21b98f9.png)

  With this PR:

  ![Screenshot from 2020-07-11 13-07-39](https://user-images.githubusercontent.com/32963518/87221803-8817b100-c377-11ea-92c8-3602dc4d2451.png)

ACKs for top commit:
  harding:
    Tested ACK d0cc1f6.  Tested on Linux/X11 as much as I could given it's a pretty small change; seems like a nice improvement.  I'm not experienced in Qt, but I don't see anything obviously problematic about the code.
  jonatack:
    ACK d0cc1f6 tested on Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux
  LarryRuane:
    ACK d0cc1f6 tested on Ubuntu 18.04.4 LTS

Tree-SHA512: e371b34231c01e77118deb100e0f280ba1cdef54e317f7f7d6ac322598bda811bd1bfe3035e90d87f8267f4f5d2095d34a8136911159db63694fd1b1b11335a1
apoelstra added a commit to apoelstra/elements that referenced this pull request Dec 3, 2020
gwillen pushed a commit to ElementsProject/elements that referenced this pull request Mar 19, 2021
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Aug 31, 2021
Summary:
> qt, refactor: Cleanup ModalOverlay slots

> qt: Disable toolbar when overlay is shown

This is a backport of [[bitcoin-core/gui#30 | core-gui#30]]

Test Plan: `bitcoin-qt --regtest

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9994
@bitcoin-core bitcoin-core locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The GUI appears non-responsive when the 'still syncing' overlay is visible
7 participants