[maemo-developers] Stopping QML update when not visible

From: Robin Burchell viroteck at viroteck.net
Date: Mon May 30 17:49:20 EEST 2011
On 30/05/11 15:46, Ville M. Vainio wrote:
> 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.

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.

--
Robin Burchell
http://rburchell.com
More information about the maemo-developers mailing list