← Back to team overview

touch-packages team mailing list archive

[Bug 1291455] Re: [greeter] Screen and input should be disabled with proximity sensor when on greeter

 

u-s-c change available in silo 30
based on conversation with alf, see comment above, this bug won't be closed based on the u-s-c changes alone.
We need components to employ this change in order to get the benefit

excerpt from alf mail

What's missing
--------------

* Other components that emit notifications and turn the screen on need
  to use reason 'notification' (integer value 4) to take advantage of
  the reduced timeout and proximity behavior.

* Phone calls display an accept/reject prompt, but proximity is not
  enabled for this prompt, so one could inadvertently reply to a phone
  call (although it requires a slide gesture, which makes it more
  difficult). I have an MP 
https://code.launchpad.net/~afrantzis/powerd/phone-call-notification-enable-proximity
 that tries to improve this in powerd,
  but has a few drawbacks:

  - If the proximity sensor is covered when a phone call is received,
    the screen turns on momentarily before turning off again.
  - If the screen is already on, proximity is still enabled.

  For SMS messages we avoid these issues by handling everything inside
  USC. We could go the same way here by introducing a new reason 'call'
  for turning the screen on. I would recommend against this though,
  since we would be adding even more complexity and inelegance to a
  system that's already broken design-wise.

** Changed in: telepathy-ofono (Ubuntu)
       Status: Invalid => New

** Changed in: canonical-devices-system-image
       Status: Fix Committed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-system-compositor in
Ubuntu.
https://bugs.launchpad.net/bugs/1291455

Title:
  [greeter] Screen and input should be disabled with proximity sensor
  when on greeter

Status in Canonical System Image:
  In Progress
Status in Ubuntu UX:
  Triaged
Status in Unity System Compositor:
  Fix Committed
Status in powerd package in Ubuntu:
  Incomplete
Status in telepathy-ofono package in Ubuntu:
  New
Status in unity-system-compositor package in Ubuntu:
  Triaged
Status in unity8 package in Ubuntu:
  Incomplete

Bug description:
  Steps to reproduce:
  * suspend your device
  * cover the proximity sensor (top left on mako)
  * call the phone

  Expecte result:
  * screen does not light up until you uncover the proximity sensor

  Current result:
  * screen lights up and you can answer the call

  This results in butt/pocket calls...

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: unity8 7.84+14.04.20140306-0ubuntu1
  Uname: Linux 3.4.0-5-mako armv7l
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: armhf
  Date: Wed Mar 12 13:14:37 2014
  InstallationDate: Installed on 2014-03-12 (0 days ago)
  InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140312)
  SourcePackage: unity8
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1291455/+subscriptions