|
From: | Riccardo Mottola |
Subject: | Re: GUI updates do not show even from separate thread |
Date: | Tue, 12 Jul 2016 14:49:32 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 |
Hi Fred, Fred Kiefer wrote:
we get the expected behaviour. You could use this code for now to get your application working correctly under GNUstep. But on MacOSX none of this hacks should be needed. Riccardo, could you please try to run FTP with that runloop line removed on a Mac and report back whether the progress bar gets filled smoothly?
I am pretty sure that I checked and and it is not needed, I will check again. I mean the whole runlloop call: once I had a background thread, the GUI updated properly without tricks. The call was needed when FTP was non-threaded.
To me this looks like we are having an issue with background threads that run their own runloop. As this is an area where I am not very familiar it would be great if Richard could take over.
However, it used to wok (with the runloop call) on GNUstep. I have the proof in older screenshots which show the progress bar working (and I also remember that it used to). So we changed behaviour.
Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |