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

[Qt] Pop debug window in foreground when opened twice #6653

Merged

Conversation

@MarcoFalke
Copy link
Member

MarcoFalke commented Sep 8, 2015

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.

@Diapolo
Diapolo reviewed Sep 9, 2015
View changes
src/qt/bitcoingui.cpp Outdated
// prevents an open debug window from becoming stuck/unusable on client shutdown
connect(quitAction, SIGNAL(triggered()), rpcConsole, SLOT(hide()));


This comment has been minimized.

Copy link
@Diapolo

Diapolo Sep 9, 2015

Nit: Please remove one of the new-lines.

@Diapolo
Copy link

Diapolo commented Sep 9, 2015

Seems to be another try like mine with #6288.

@jonasschnelli
Copy link
Member

jonasschnelli commented Sep 10, 2015

@MarcoFalke MarcoFalke force-pushed the MarcoFalke:MarcoFalke-2015-GUI-ActivateDebugWindow branch Sep 11, 2015
@MarcoFalke
Copy link
Member Author

MarcoFalke commented Sep 11, 2015

@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
@fanquake
Copy link
Member

fanquake commented Sep 12, 2015

Tested ed2c72e on OS X

On another virtual desktop: switch to virtual desktop and show
Hidden behind other windows: raise to foreground
Minimised: show
MarcoFalke added 2 commits Sep 7, 2015
* 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
@MarcoFalke MarcoFalke force-pushed the MarcoFalke:MarcoFalke-2015-GUI-ActivateDebugWindow branch to 4dee609 Sep 23, 2015
@MarcoFalke
Copy link
Member Author

MarcoFalke commented Sep 23, 2015

Trivial rebase (3-way merge)

@jonasschnelli
Copy link
Member

jonasschnelli commented Sep 23, 2015

ReACK.

@laanwj laanwj merged commit 4dee609 into bitcoin:master Sep 23, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
laanwj added a commit that referenced this pull request Sep 23, 2015
4dee609 Rename rpcconsole.ui => debugwindow.ui (MarcoFalke)
0d0a2d6 [Qt] Raise debug window when requested (MarcoFalke)
@MarcoFalke MarcoFalke deleted the MarcoFalke:MarcoFalke-2015-GUI-ActivateDebugWindow branch Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.