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

File transfer blocks UI messages

Developers may discuss here
Post Reply
jhansen
8
8
Posts: 9
Joined: 2012-12-21 14:02

File transfer blocks UI messages

Post by jhansen »

When vncviewer receives a file, the server doesn't respond to messages on the tray icon. Usually it will pop up the menu and then its dead until the file transfer ends. The message loop in vncmenu calls pClient->SendFileChunk() which posts a message back to the same window. So it looks like other messages should be processed eventually. This is all on the same thread, and its normal priority.
Any ideas how to throttle the file messages to allow UI messages to be processed?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: File transfer blocks UI messages

Post by Rudi De Vos »

minimize FT window ?
FT open -> full power to transmit file
FT minimize -> allow updates while FT is active
jhansen
8
8
Posts: 9
Joined: 2012-12-21 14:02

Re: File transfer blocks UI messages

Post by jhansen »

No, the server's tray icon becomes unresponsive during a file transfer from server to viewer. If a user on the server clicks on winvnc icon, the menu pops, but doesn't respond until the file transfer is done. But the user on the server side doesn't know a FT is happening, just that the menu is broken.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: File transfer blocks UI messages

Post by Rudi De Vos »

I see, it's on the server site.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: File transfer blocks UI messages

Post by Rudi De Vos »

It doesn't seems that simple to replace it, menu message pump is used to send the file and the message also contain a pointer...
Jules Fettu
8
8
Posts: 12
Joined: 2012-03-14 14:25

Re: File transfer blocks UI messages

Post by Jules Fettu »

Could it be related to the size of the file being transferred? I've seen similar behavior on really large files
Post Reply