← Back to team overview

ubuntu-phone team mailing list archive

Re: Screen Dimming

 

I don't think that's the right solution because the use case is
different to video. If you stop reading midway you want the screen to
turn off/ lock. Unlike video you wouldn't "pause" manually.

ciao,
    Christian

On 27.04.2015 23:51, Ken VanDine wrote:
> I guess what you want is an API to prevent the screen inactivity timer
> while reading.  I'm not sure how to do that, but I'm pretty sure that
> happens for video playback with media-player.  Anyone else know?
> 
> Ken
> 
> On Mon, Apr 27, 2015 at 2:52 PM, Robert Schroll <rschroll@xxxxxxxxx
> <mailto:rschroll@xxxxxxxxx>> wrote:
> 
>     On further reflection, I realize that while fixing 1437510 would be
>     a great improvement, it doesn't actually solve the problem I'm
>     having with Beru.  The point of dimming the screen is (I assume) to
>     alert the user that it's about to lock, so they can prevent that if
>     they desire.  But taking preventative action will still result in an
>     undesired page change.  (This situation will occur much less often,
>     but it's still there.)
> 
>     So: Are taps that undo the dimming supposed to go through to the
>     active app, or should they be trapped by the system?  And if it's
>     the former, how can an app tell if the screen has dimmed?
> 
>     Thanks,
>     Robert
> 
> 
> 
>     On Mon, Apr 27, 2015 at 1:43 PM, Robert Schroll <rschroll@xxxxxxxxx
>     <mailto:rschroll@xxxxxxxxx>> wrote:
> 
>         On Mon, Apr 27, 2015 at 1:12 PM, Ken VanDine
>         <ken.vandine@xxxxxxxxxxxxx <mailto:ken.vandine@xxxxxxxxxxxxx>>
>         wrote:
> 
>             https://bugs.launchpad.net/ubuntu/+source/unity-system-compositor/+bug/1437510
> 
>             I have a fix proposed for that, but I don't really agree
>             with the fix.  You can see my last comment on the bug for
>             reference.
> 
> 
>         Thanks, Ken and Oliver.  I'll keep an eye on that bug an hold
>         off on changes to Beru for now.
> 
>         Robert
> 
> 
> 
> 
> 


Follow ups

References