<div dir="ltr"><div>Hello,<br><br></div>thank you for your quick reply.<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 5:19 PM, Jouni Malinen <span dir="ltr"><<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
</span>I would have wanted the behavior to be such that if wpa_gui is started<br>
with the same parameters as an already running instance, that already<br>
running instance is brought into foreground instead of starting a new<br>
process. The last time I looked at this was years ago and at that point<br>
in time, some of the Qt features that would have made this easy were not<br>
part of the free version, if I remember correctly. I'd hope that that<br>
has changed since then, though.<br></blockquote><div>This option also came to my mind, but I figured it would be very complicated to compare all these things and to get control of the running process, so some specific IPC mechanism would have to be added, so I didn't really consider it as a viable solution.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
</span>Regardless of other possible alternatives, this sound like a fine<br>
addition that may have other uses as well.<br></blockquote><div>Ok, I'll try to create a patch. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""></span><br>I'm not sure whether this would be the easiest and most obvious solution<br>for users in general, i.e., I'd rather get the<br>bring-main-window-to-foreground behavior on new wpa_gui launch if<br>wpa_gui was already running.<br></blockquote><div>The keybinding based solution wasn't really about what to do when wpa_gui is started, but rather how to register some keybindings for some actions of a wpa_gui process minimized in the system tray.<br></div><div>This would have the benefit over the other solutions that orther windows could be also very quickly accessible via a keybinding, e.g. the scan results.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
there would need to be an option to force starting a new process<br>
regardless of what else may already be running.<br></blockquote><div>I definitely agree with that.<br><br></div><div>Kind regards,<br></div><div>Ondřej Grover<br></div></div><br></div></div></div></div>