File transfer blocks UI messages

Developers may discuss here.

File transfer blocks UI messages

Postby jhansen » 2013-04-22 22:48

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?
jhansen
8
8
 
Posts: 9
Joined: 2012-12-21 14:02

Re: File transfer blocks UI messages

Postby Rudi De Vos » 2013-04-23 10:36

minimize FT window ?
FT open -> full power to transmit file
FT minimize -> allow updates while FT is active
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5324
Joined: 2004-04-23 10:21

Re: File transfer blocks UI messages

Postby jhansen » 2013-04-23 12:32

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.
jhansen
8
8
 
Posts: 9
Joined: 2012-12-21 14:02

Re: File transfer blocks UI messages

Postby Rudi De Vos » 2013-04-23 20:08

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

Re: File transfer blocks UI messages

Postby Rudi De Vos » 2013-04-25 17:58

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...
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5324
Joined: 2004-04-23 10:21

Re: File transfer blocks UI messages

Postby Jules Fettu » 2013-05-02 12:32

Could it be related to the size of the file being transferred? I've seen similar behavior on really large files
Jules Fettu
8
8
 
Posts: 12
Joined: 2012-03-14 14:25


Return to Developer discussions (mainly user-mode)

Who is online

Users browsing this forum: No registered users and 1 guest