Hi,

Fred Kiefer wrote:
Thank you to both you and Sebastian, switching to passive mode made the 
application work. This really should be the default mode.

I just did it. it is the default now, apparently some firewalls are prickier than others.

Now I see that the transfer happens in a background thread while the UI changes 
are made in the main thread, just like it should be. Very impressive, I will 
need some more time to admire this code.

Don't exaggerate!

Now I see the wrong behaviour just like you described it. The progress bar gets 
updated but only one or two times whereas the download constantly provides the 
progress information. I am going to add some debug output to the NSWindow 
autoupdate code to see, whether this gets called. Most likely this isn't the 
case, meaning we have a problem with the runtime loop. Maybe we need to add the 
autoupdate to more event modes or there is an issue with having two run loops. 
Some more investigation is needed.


I too verified that the DO code works and that the updates are flowing into the main thread.
Thank you - let us know.

Riccardo

_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to