The problem was that simply calling Window.show() doesn't mean that the window dreslau-1279798
authorDan Breslau <dbreslau@socrates.painless-security.com>
Fri, 1 Apr 2016 20:16:38 +0000 (16:16 -0400)
committerDan Breslau <dbreslau@socrates.painless-security.com>
Fri, 1 Apr 2016 20:16:38 +0000 (16:16 -0400)
commit1cef26ea4e2e7f1d5506470cd7675df4bbd08f6e
treeb06120290038375d65a909b2f20e129fe478e155
parent08c3260a34a16df6899395abe912b597808f245a
The problem was that simply calling Window.show() doesn't mean that the window
is brought to the foreground. Actually, there seems to be nothing that
guarantees this, because the user's settings and choice of window manager may
ffect the behavior. However, some research and experimentation shows that
calling these two Window methods

        set_urgency_hint(true);
        present();

may not bring the window to the foreground either, but do at least causes the
user to be notified that the window wants attention, much like the way Windows
may make a taskbar icon flash orange.
src/moonshot-identity-management-view.vala
src/moonshot-identity-manager-app.vala