Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Viewer does not close with 'Cancel' from Status Windows

Post Reply
timo
8
8
Posts: 20
Joined: 2008-10-08 13:29
Location: Finland

Viewer does not close with 'Cancel' from Status Windows

Post by timo »

In case the connection can not be made because server is frozen or something like that, only dialog to close the viewer is 'Cancel' button in status window.

So far, I don't remember seeing a version of Vncviewer that would really close when you press 'Cancel' in Status Window. From Task manager you may find several vncvievers running after several attempts to close viewer with 'Cancel' in Status Window.
Last edited by timo on 2009-11-22 16:59, edited 3 times in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Viewer does not close with 'Cancel' from Status Windows

Post by redge »

vncviewer and ID ....Cancel = timeout... 5 min to repeater linux/win
is not OS depend.

repeater bug or vncviewer bug ?

direct connection, it close immediately as my experience build 1.0.8.1 built 17 nov. 2009

work around:
end task on vncviewer image Name under Processes tab if we don't want to wait.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
timo
8
8
Posts: 20
Joined: 2008-10-08 13:29
Location: Finland

Re: Viewer does not close with 'Cancel' from Status Windows

Post by timo »

redge wrote:vncviewer and ID ....Cancel = timeout... 5 min to repeater linux/win
is not OS depend.

repeater bug or vncviewer bug ?

direct connection, it close immediately as my experience build 1.0.8.1 built 17 nov. 2009

work around:
end task on vncviewer image Name under Processes tab if we don't want to wait.
Let me clear this a bit.

I mean a situation where the server is running but is frozen so viewer tries to connect, but connection is never made.
Viewer shows Status window.
I wait for 10 minutes, no time-out occurs.
I press Cancel, and wait for another 10 minutes, no time-out occurs, vncviewer is still listed as a process in Task Manager.
So, only way to exit Viewer in this case is to kill the process in Task manager, which I find a poor way to use the viewer.

In case the server is not running at all, viewer shows a MessageBox "Failed to connect to server!" and exits beautifully when I press 'Close'. This kind of behaviour is what I'm expecting to have.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Viewer does not close with 'Cancel' from Status Windows

Post by redge »

> viewer cancel now direct disconnect socket

fixed half OK :|
please don't open error message box because user force Cancel at vncviewer.

what you thinking ? I'm ask too much ?
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
timo
8
8
Posts: 20
Joined: 2008-10-08 13:29
Location: Finland

Re: Viewer does not close with 'Cancel' from Status Windows

Post by timo »

redge wrote:> viewer cancel now direct disconnect socket

fixed half OK :|
please don't open error message box because user force Cancel at vncviewer.

what you thinking ? I'm ask too much ?
I believe it is Ok, but I can not test it because I updated to latest build of 1081 and it does not cause server to freeze anymore. And I don't have the previous build of 1081.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Viewer does not close with 'Cancel' from Status Windows

Post by Rudi De Vos »

you can test it...

viewer

VNC server [ ID:45454656 ]
[x] proxy/repeater [ www.uvnc.com:5901 ]

Then the viewer stop at negotiate protocol version ( he is actual waiting for the server)

If you now press cancel -> viewer proper stop, but still give a message
that he is stopped.
Next update, message will be supressed when user manual pressed cancel... he know the viewer is stopped.
timo
8
8
Posts: 20
Joined: 2008-10-08 13:29
Location: Finland

Re: Viewer does not close with 'Cancel' from Status Windows

Post by timo »

Rudi De Vos wrote:you can test it...

viewer

VNC server [ ID:45454656 ]
[x] proxy/repeater [ www.uvnc.com:5901 ]

Then the viewer stop at negotiate protocol version ( he is actual waiting for the server)

If you now press cancel -> viewer proper stop, but still give a message
that he is stopped.
Next update, message will be supressed when user manual pressed cancel... he know the viewer is stopped.
Ok, I tested it and it works as expected.
Vncviewer.exe exits properly.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Viewer does not close with 'Cancel' from Status Windows

Post by redge »

1.0.8.1 build 22 November 2009
> -viewer cancel now direct disconnect socket

test successfull, perfect :-)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply