Updating the UI while converting databases to V5

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Thu Mar 28 17:22:41 CDT 2013


On 3/28/13 6:53 AM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Don't you think that this is big problem of REALStudio  Cocoa?

And should be reported as BUG to their bug tracker first of all?


> 1+
> 
> That worked in the gone times of Carbon. In certain situations I could tell
> the window with the progressbar to show immediately and then to update.
> 
> In Cocoa this doesn't work. Trying to force showing a window: crash. Update
> window directly: crash. Show a message box: crash. Instead I tell the
> progressbar window to show itself, which it does - sooner or later. Sometimes
> a sleepcurrentthread(100) seems to help, but not always.
> 
> As soon as Valentina is doing something like reindexing the complete interface
> is locked down!
> 
> I haven't had time for the example, yet. Will try over Easter.
> 
> On 27.03.2013, at 22:00, jda <jda at his.com> wrote:
> 
>> 
>> Except that in my experience, the main thread pauses while Valentina does
>> it's thing. So the progressbar never gets updated until Valentina is
>> finished. I haven't looked at this in a while, but Beatrix has and I'm sure
>> will comment.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list