[Interest] pb with 530 official release and MAC/OS

Thiago Macieira thiago.macieira at intel.com
Tue May 20 23:57:56 CEST 2014


Em ter 20 maio 2014, às 23:11:06, maitai at virtual-winds.org escreveu:
> I'm doing processEvent() just to make sure the dialog is painted before
> an heavy treatment. Basically it shows "Please wait" while the process
> is running. I guess I am not the only one doing such things... If I
> don't call processEvents on some platforms the dialog is just half
> painted, probably there are other ways to ensure it's painted (like
> updateGeometry() ) but until now that was working.
>
> I want to show(), do something, and then delete the messagebox. Not just
> show() and return, what would be the point? I don't want to exec()
> because I don't want the user to need to click on something, it's just a
> waiting message that should not block the execution.

processEvents() does not guarantee it will be fully painted either. The dialog 
may be covered by another window and made visible only after you started your 
heavy treatment. You'd have to periodically call processEvents() to ensure it 
gets repainted when necessary.

But it does look like this a regression.

The plan is to rapidly release 5.3.1 with the pending fixes from the last two 
months, plus maybe this fix.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list