maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   [Sandbox] Out of focus "power saving" and task switcher window contents (https://talk.maemo.org/showthread.php?t=47231)

javispedro 2010-03-12 17:46

[Sandbox] Out of focus "power saving" and task switcher window contents
 
http://maemo.org/community/brainstor...ndow_contents/

Quote:

Some applications (including base ones, like the Clock application, or the Media Player application) save power by not refreshing the display when they're not the topmost active application on the system. This works well enough right until you hit the task switcher key, and you see outdated thumbnails in the task switcher grid.

For example, if you open the Clock application and let it run in the background for a while, after you hit the task switcher button you'll see that the clock is outdated in the preview. This is documented in bugs.maemo.org bug #5466.

If you open the Media Player application, you'll see that the time slider doesn't refresh when it the background. Thus, you cannot really guess the current song position by looking at the media player thumbnail in the task switcher grid; you have to actively switch focus to the media player and let it refresh.

Of course, this is far from ideal, even from an user experience point of view. But we also want to save power...
So, what do you think?

javispedro 2010-03-12 17:48

Re: [Sandbox] Out of focus "power saving" and task switcher window contents
 
For a start, I'd comment on what the Pre does. From what I gather, the window manager will refuse to draw to non focused windows more than once per second. (It will of course allow focused windows to render as many times as they want).

Also, applications know if they're focused or not and can throttle their rendering appropriately.

ArnimS 2010-03-13 09:06

Re: [Sandbox] Out of focus "power saving" and task switcher window contents
 
current situation is best. refreshing all apps constantly would wake cpu too much. redrawing all apps on overview would cause terrible lag and swapping


All times are GMT. The time now is 04:55.

vBulletin® Version 3.8.8