raise helpMessageDialog #167
pull RandyMcMillan wants to merge 1 commits into bitcoin-core:master from RandyMcMillan:help-message-raise changing 1 files +1 −1-
RandyMcMillan commented at 9:59 pm on December 29, 2020: contributorthe raise() method brings the helpMessageDialog to the top if it is obscured by another window.
-
in src/qt/bitcoingui.cpp:849 in 5d4964a92b outdated
845@@ -846,6 +846,7 @@ void BitcoinGUI::showDebugWindowActivateConsole() 846 void BitcoinGUI::showHelpMessageClicked() 847 { 848 helpMessageDialog->show(); 849+ helpMessageDialog->raise();//bring to top if obscured
promag commented at 10:28 pm on December 29, 2020:Not sure if you are aware ofGUIUtil::bringToFront(helpMessageDialog)
, seems the right call here ( and remove the aboveshow()
).
RandyMcMillan commented at 4:02 pm on January 25, 2021:Thanks!hebasto commented at 4:30 pm on December 30, 2020: memberMind providing steps to reproduce
helpMessageDialog
obscuring (as it is a top-level window, and it is activated via a menu item only)?jarolrod commented at 5:02 am on January 10, 2021: memberNo strong opinion, but I do not think this is needed.
The help menu always shows on top, I cannot come up with a scenario where it is obfuscated. Furthermore, If the help window has been moved to the background by clicking on another window, clicking on
Help
->Command-line Options
will bring back the help window to the top.RandyMcMillan commented at 0:04 am on January 23, 2021: contributori will post screen shots - maybe this is a macOS specific issue..RandyMcMillan commented at 0:34 am on January 23, 2021: contributorMaybe this is an “accessibility” issue and warrants an accessibility label - note that if the user is using tab-thru navigation. Once the window is presented and then obfuscated - using the nav bar again will not re-present the window.
I think is is critical that we incorporate usability/accessibility considerations - I would hope that this gui centric fork allows for these very nuanced issues.
Not everybody can use a mouse in gui applications. :)
hebasto commented at 11:04 am on January 23, 2021: memberConcept ACK.
I can confirm this bug on macOS Big Sur 11.1 (20C69) + Homebrew’s Qt 5.15.2. @RandyMcMillan Do you mind using a more general approach suggested by @promag:
0--- a/src/qt/bitcoingui.cpp 1+++ b/src/qt/bitcoingui.cpp 2@@ -845,7 +845,7 @@ void BitcoinGUI::showDebugWindowActivateConsole() 3 4 void BitcoinGUI::showHelpMessageClicked() 5 { 6- helpMessageDialog->show(); 7+ GUIUtil::bringToFront(helpMessageDialog); 8 } 9 10 #ifdef ENABLE_WALLET
raise helpMessageDialog 77114462f2RandyMcMillan commented at 4:01 pm on January 25, 2021: contributorThanks for posting the snippet - saved a lot of time!promag commented at 5:21 pm on January 25, 2021: contributorCode review ACK 77114462f2328914b7a918f40776e522a0898e56.hebasto approvedhebasto commented at 10:19 pm on January 25, 2021: memberACK 77114462f2328914b7a918f40776e522a0898e56, tested on:
- macOS Big Sur 11.1 (20C69) + Homebrew’s Qt 5.15.2
- Linux Mint 20.1 + Cinnamon + Qt 5.12.8
MarcoFalke commented at 6:53 am on January 26, 2021: contributorDoes this need backport?hebasto commented at 8:39 am on January 26, 2021: memberDoes this need backport?
Yes, I think, as it is a bugfix for macOS builds.
MarcoFalke commented at 8:47 am on January 26, 2021: contributorok, thanks. Will backport.MarcoFalke merged this on Jan 26, 2021MarcoFalke closed this on Jan 26, 2021
MarcoFalke referenced this in commit e2ebc8567a on Jan 26, 2021MarcoFalke commented at 8:52 am on January 26, 2021: contributorBackported in https://github.com/bitcoin/bitcoin/pull/20901MarcoFalke added this to the milestone 0.21.1 on Jan 26, 2021sidhujag referenced this in commit a2953bdbea on Jan 26, 2021hebasto added the label Bug on Mar 6, 2021hebasto added the label macOS on Mar 6, 2021PastaPastaPasta referenced this in commit 9b876dc8b8 on Jun 27, 2021PastaPastaPasta referenced this in commit d64cfbb240 on Jun 28, 2021PastaPastaPasta referenced this in commit e1f476780f on Jun 29, 2021PastaPastaPasta referenced this in commit fa4f0073db on Jul 1, 2021PastaPastaPasta referenced this in commit 56bde915a6 on Jul 1, 2021PastaPastaPasta referenced this in commit 9eb2df1518 on Jul 15, 2021PastaPastaPasta referenced this in commit 403d2a0917 on Jul 16, 2021apoelstra referenced this in commit 5d4db43893 on Sep 21, 2021apoelstra referenced this in commit 176a257be2 on Sep 21, 2021apoelstra referenced this in commit b514a872c3 on Sep 22, 2021gades referenced this in commit e7c2087411 on May 9, 2022bitcoin-core locked this on Aug 16, 2022
This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 03:20 UTC
More mirrored repositories can be found on mirror.b10c.me