[maemo-developers] Stopping QML update when not visible

From: Ville M. Vainio vivainio at gmail.com
Date: Mon May 30 17:46:58 EEST 2011
On Mon, May 30, 2011 at 4:55 PM, Andrew Flegg <andrew at bleb.org> wrote:

> Thoughts welcome. To be honest, it's amazing (and disappointing) that
> there isn't a way of doing this in Qt Quick 1.0. Can anyone confirm
> whether or not it's at least not updating the screen when hidden (it
> does in the task manager), and it's only the accelerometer signalling
> I need to switch off?

I confirmed that e.g. QmlReddit does nothing when it's hidden.

I checked this with:

ltrace -C -p 1677

strace shows some random mainloop wakeups, but nothing that would
register in "top".

So, the problem luckily appears to be application specific (and
accelerometer is a good start).
More information about the maemo-developers mailing list