connected BT mouse should unblank screen (windowed mode)

Bug #1488413 reported by kevin gunn
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical Pocket Desktop
Fix Released
Critical
kevin gunn
Canonical System Image
Fix Released
Critical
Stephen M. Webb
Unity System Compositor
Fix Released
Critical
Alexandros Frantzis
unity-system-compositor (Ubuntu)
Fix Released
Critical
Alexandros Frantzis

Bug Description

when switching into windowed mode && a BT mouse is connected && screen is blanked (from time out or pwr key press) the BT mouse motion should unblank the screen

this may effect multiple projects so sort of shotgunning the effected project list

Related branches

kevin gunn (kgunn72)
Changed in qtmir (Ubuntu):
status: New → Opinion
description: updated
tags: added: pd
kevin gunn (kgunn72)
no longer affects: qtmir (Ubuntu)
kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
importance: Undecided → High
Changed in unity-system-compositor (Ubuntu):
importance: Undecided → High
Changed in unity8 (Ubuntu):
importance: Undecided → High
Changed in mir:
importance: Undecided → High
tags: added: power-management
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-system-compositor (Ubuntu):
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed Mir is to blame for this to some extent. Using:
  $ env MIR_CLIENT_INPUT_RECEIVER_REPORT=log mir_demo_client_fingerpaint
and putting the screen to sleep with Alt+P in mir_proving_server, I can see that motion events are no longer delivered to the client while the screen is off. Mir only delivers key events to the client while the screen is off, not motion.

This is problem given that Unity8 is actually a client of the system compositor. So I expect Mir won't deliver it any motion events while the screen is off.

Changed in mir:
status: New → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also note this is an intentional _feature_ right now that clients do not receive motion events with the screen off --> bug 1359264.

Revision history for this message
Cris Dywan (kalikiana) wrote :

Clicking doesn't seem to work either - not just motion.

Revision history for this message
kevin gunn (kgunn72) wrote :

marking critical as this is the new #1 from product managment

Changed in mir:
importance: High → Critical
Changed in canonical-pocket-desktop:
importance: High → Critical
Changed in unity-system-compositor (Ubuntu):
importance: High → Critical
Changed in unity8 (Ubuntu):
importance: High → Critical
Changed in canonical-pocket-desktop:
assignee: nobody → kevin gunn (kgunn72)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not familiar with our overall powerd/bus plan, but at a guess we would want USC to action this. And in theory USC as the system compositor will already see all input events even while the screen is off. Thus comments #3 and #4 would be irrelevant. So I suspect this bug will be no-action-required in Mir itself.

Changed in mir:
status: Triaged → Incomplete
milestone: none → 0.19.0
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds similar to bug 1516272 but still different, I think.

Changed in canonical-devices-system-image:
assignee: nobody → Michał Sawicz (saviq)
importance: Undecided → Critical
milestone: none → ww04-2016
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

Unity8 is not involved in display blanking today.

Changed in unity8 (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Invalid
Changed in canonical-devices-system-image:
assignee: Michał Sawicz (saviq) → Kevin Gunn (kgunn)
assignee: Kevin Gunn (kgunn) → Stephen M. Webb (bregma)
kevin gunn (kgunn72)
no longer affects: unity8 (Ubuntu)
Stephen M. Webb (bregma)
Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
Changed in unity-system-compositor:
assignee: nobody → Alexandros Frantzis (afrantzis)
status: New → Triaged
importance: Undecided → Critical
status: Triaged → In Progress
Changed in mir:
milestone: 0.19.0 → 0.20.0
kevin gunn (kgunn72)
Changed in unity-system-compositor (Ubuntu):
status: Confirmed → In Progress
Changed in canonical-pocket-desktop:
status: New → In Progress
no longer affects: mir
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity-system-compositor at revision 269, scheduled for release in unity-system-compositor, milestone Unknown

Changed in unity-system-compositor:
status: In Progress → Fix Committed
Changed in unity-system-compositor (Ubuntu):
assignee: nobody → Alexandros Frantzis (afrantzis)
Revision history for this message
Allan LeSage (allanlesage) wrote :

Just a note having tested afrantzis' silo that mouse-waking will have the effect of switching to windowed mode, I can imagine a scenario in which this may not be desired, e.g. if a previously paired device in my house wakes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-system-compositor - 0.3.1+16.04.20160121.1-0ubuntu1

---------------
unity-system-compositor (0.3.1+16.04.20160121.1-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * No-change rebuild.

unity-system-compositor (0.3.1+16.04.20160121-0ubuntu1) xenial; urgency=medium

  [ Alexandros Frantzis ]
  * Unblank the screen when a pointer or key event arrives. (LP: #1488413)

  [ Andreas Pokorny ]
  * Implement a DBus interface for setting pointer speed/acceleration.
    (LP: #1536383)

 -- Alexandros Frantzis <email address hidden> Thu, 21 Jan 2016 17:58:58 +0000

Changed in unity-system-compositor (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
status: In Progress → Fix Released
Changed in unity-system-compositor:
status: Fix Committed → Fix Released
Stephen M. Webb (bregma)
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.