[maemo-developers] Stopping QML update when not visible

From: Ville M. Vainio vivainio at gmail.com
Date: Mon May 30 18:07:38 EEST 2011
On Mon, May 30, 2011 at 5:49 PM, Robin Burchell <viroteck at viroteck.net> wrote:

>> I confirmed that e.g. QmlReddit does nothing when it's hidden.
>
> Note that of course, nothing will be happening if there's nothing to
> actually happen. If your objects aren't moving, etc, then Qt won't
> constantly have to redraw items, at most, it'll just be blitting from the
> widget backing store to the screen, but even that shouldn't happen here
> since we only have one topmost window, and no cursor moving around, etc.

Right - so I confirmed Andrew's fear that QML would be "stupid" about
this, and waking up the process when it should be steady (e.g. by
doing a dummy op at 60fps).

If you have animations that proceed when the application should be
steady, you have a broken design in the first place; this is a problem
that application developer can easily solve.
More information about the maemo-developers mailing list