Public bug report changed:
https://launchpad.net/malone/bugs/32064

Comment:
OK, I understand the issue with interactivity, but you haven't addressed
the problem of updating widgets from threads, which breaks Qt
multithreading guarantees (as described in docs).

If you have tried using processEvents(), fair enough, I do not have
reasons to not believe you that it is not a way to go. I have proposed
also second solution - using timers and updating lists in timer
handlers. This might be too hacky.

So maybe we should use the third way, I have used it in one
multithreaded Qt application and it works OK. You spawn worker threads
which do the processing, but without touching widgets. Worker thread
packs proper data into Qt events and passes it to GUI thread using
postEvent(). Widget intercepts event and updates its structures.

What do you think?

--
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to