Skip to content
Credential dialog not in focus after launch via command line
Got a problem with Viscosity or need help? Ask here!
When initiating connections via command line, as described in https://www.sparklabs.com/support/kb/ar ... e-windows/, the credential dialog is not in focus.
Tested under Windows 7 64bit and Windows 10 64bit with 1.7.1 (1513).
The expected behavior would be that the credential dialog is brought into focus, so that the credentials can be entered right away.
Tested under Windows 7 64bit and Windows 10 64bit with 1.7.1 (1513).
The expected behavior would be that the credential dialog is brought into focus, so that the credentials can be entered right away.
Hi ifesgmbh,
Thanks for the report, we will look into it.
Regards,
Eric
Thanks for the report, we will look into it.
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Hi ifesgmbh,
We have added an improvement in the latest beta (1.7.2b1) to force credentials windows into focus, please give it a go and let us know if it is behaving as you would expect - http://sparklabs.com/support/kb/article ... -versions/
Regards,
Eric
We have added an improvement in the latest beta (1.7.2b1) to force credentials windows into focus, please give it a go and let us know if it is behaving as you would expect - http://sparklabs.com/support/kb/article ... -versions/
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
I tested the issue again with 1.7.3. There is a noticeable change: now the login dialog blinks, as windows normally do when they require attention.
Unfortunately the window still doesn't bring it self into focus, so that the user can continue to enter the password directly.
Please look into this again.
Unfortunately the window still doesn't bring it self into focus, so that the user can continue to enter the password directly.
Please look into this again.
Hi ifesgmbh,
We have tested on multiple versions of Windows from batch and direct from command prompt and in every case the credentials dialog takes focus. If a Window is flashing, it generally means it has been denied focus access because Windows thinks you're busy. For example if you are scrolling through a web browser, this will retain focus.
We're not sure how you are commanding Viscosity to connect, but could you please try the following:
- Open a command prompt
- Run a simple connect command as below, replacing "My Connection" with a connection name of your own:
"C:\Program Files\Viscosity\Viscosity.exe" connect "My Connection"
After you press enter to run the command, do not perform any other actions to ensure a click is not moving focus to another application.
Regards,
Eric
We have tested on multiple versions of Windows from batch and direct from command prompt and in every case the credentials dialog takes focus. If a Window is flashing, it generally means it has been denied focus access because Windows thinks you're busy. For example if you are scrolling through a web browser, this will retain focus.
We're not sure how you are commanding Viscosity to connect, but could you please try the following:
- Open a command prompt
- Run a simple connect command as below, replacing "My Connection" with a connection name of your own:
"C:\Program Files\Viscosity\Viscosity.exe" connect "My Connection"
After you press enter to run the command, do not perform any other actions to ensure a click is not moving focus to another application.
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
When issuing the connect command while the Viscosity client has not yet been started, the credentials dialog is in focus and the credentials can be entered right away.
However, when the Viscosity client is already started in the background, the credential dialog only blinks and does not come into focus.
However, when the Viscosity client is already started in the background, the credential dialog only blinks and does not come into focus.
Hi ifesgmbh,
I'm afraid we cannot replicate this behaviour. Whether Viscosity is exited, inactive in the system tray or the Preferences Windows is open, the Credentials Windows take focus off the command prompt window with that command every time. If you are running a certain script that is retaining focus, we can take a look, otherwise this is behaving as we'd expect and something else must be commanding focus on your operating system.
Regards,
Eric
I'm afraid we cannot replicate this behaviour. Whether Viscosity is exited, inactive in the system tray or the Preferences Windows is open, the Credentials Windows take focus off the command prompt window with that command every time. If you are running a certain script that is retaining focus, we can take a look, otherwise this is behaving as we'd expect and something else must be commanding focus on your operating system.
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
8 posts
Page 1 of 1