Opened 8 months ago

Closed 8 months ago

#1465 closed Feature Wish (fixed)

Double-click Tray icon to bring focus to credentials window if displayed

Reported by: RemoteOne Owned by: Selva Nair
Priority: minor Milestone:
Component: Windows GUI Version: OpenVPN 2.5.6 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:


When the authentication expires, especially if the computer is asleep, the login dialog box does not pop to the top of the desktop - it is hidden behind other windows. The only visible sign that something is not right is the OpenVPN tray icon is Yellow. Double-clicking on this brings up the status window which does not show any errors. It is only if you then hover over the OpenVPN icon in the Task bar you can see that there are two OpenVPN windows open - the status window and the login box.

It would be a really helpful improvement if when you double-click on the tray icon it would first check if the login window is currently displayed, and if so, bring it to the top of the window stack with focus. And, if not, bring up the status box as it does now.

Or, if there is a desire to always have the double-click bring the status box up, then in addition to displaying the status box, check if the login box is currently displayed, and bring that into focus over the status box.

Change History (3)

comment:1 Changed 8 months ago by Selva Nair

Is this behaviour seen with challenge-response auth?

The simple user-auth dialog always shows up as the top-most window for me. But it seems we do not set WS_EX_TOPMOST extended style on other cases such as static and dynamic challenge-response. It would be useful to have this set on any dialog that could pop-up without user interaction.

Or should we instead enumerate all open dialogs and bring one into focus when the status window is opened as suggested here?

comment:2 Changed 8 months ago by Selva Nair

comment:3 Changed 8 months ago by Selva Nair

Resolution: fixed
Status: newclosed

Fixed by PR507.

Note: See TracTickets for help on using tickets.