Currently the debug window stays in the background when opened a second time. It should pop up in the foreground, instead.
The commit is pretty much a conceptual copy of 5ffaaba and 382e9e2.
Currently the debug window stays in the background when opened a second time. It should pop up in the foreground, instead.
The commit is pretty much a conceptual copy of 5ffaaba and 382e9e2.
346 | @@ -352,6 +347,11 @@ void BitcoinGUI::createActions() 347 | connect(optionsAction, SIGNAL(triggered()), this, SLOT(optionsClicked())); 348 | connect(toggleHideAction, SIGNAL(triggered()), this, SLOT(toggleHidden())); 349 | connect(showHelpMessageAction, SIGNAL(triggered()), this, SLOT(showHelpMessageClicked())); 350 | + connect(openRPCConsoleAction, SIGNAL(triggered()), this, SLOT(showDebugWindow())); 351 | + // prevents an open debug window from becoming stuck/unusable on client shutdown 352 | + connect(quitAction, SIGNAL(triggered()), rpcConsole, SLOT(hide())); 353 | + 354 | +
Nit: Please remove one of the new-lines.
Tested ACK. Binaries: https://builds.jonasschnelli.ch/pulls/6653/
@Diapolo Thanks for the feedback. I have rearranged the commits according to comments. The rename commit is now HEAD, so it can be easily dropped. @jonasschnelli Thanks for the binaries. The binaries are using now outdated a bit because I force pushed ed2c72e in the meantime. You can expect the following from ed2c72e:
| Debug window ... | Mac OS [fanquake] | Fedora Linux (GNOME) | Windows 7 |
|---|---|---|---|
| ... on another virtual desktop: | switch to virtual desktop and show | switch to virtual desktop and show | n.a. |
| ... hidden behind other windows: | raise to foreground | raise to foreground | raise to foreground |
| ... minimized: | show | n.a. | show |
Tested ed2c72e on OS X
On another virtual desktop: switch to virtual desktop and show
Hidden behind other windows: raise to foreground
Minimised: show
* Raise the debug window when hidden behind other windows
* Switch to the debug window when on another virtual desktop
* Show the debug window when minimized
This change is a conceptual copy of 5ffaaba and 382e9e2
Trivial rebase (3-way merge)
ReACK.