← Back to team overview

dx-packages team mailing list archive

[Bug 1482181] Re: Media keys (ctrl-alt-t, brightness, play/pause) don't work randomly after logging

 

Problem figured out by Trevinho and didrocks on irc: unity only emits
AcceleratorActivated() for the first id returned by GrabAccelerator()
and doesn't watch the unique name of the grabbing process. Thus, when
something other than unity-settings-daemon grabs the key before it, or
u-s-d crashes, those keys it grabbed at the very beginning can never be
regrabbed.

After a couple of rounds of testing and some code review, I can't make
unity-settings-daemon subscribe to the same accelerator twice and thus
getting into that situation itself. Feel free to reassign it to u-s-d
once unity is fixed but this problem still persists.

** Changed in: unity-settings-daemon (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1482181

Title:
  Media keys (ctrl-alt-t, brightness, play/pause) don't work randomly
  after logging

Status in Unity:
  Triaged
Status in unity package in Ubuntu:
  Triaged
Status in unity-settings-daemon package in Ubuntu:
  Invalid

Bug description:
  I've installed 15.10 and I can't open a terminal using ctrl-alt-t or
  use any other media keys. All system shorcuts as well don't work.

  Note that this started at least in 14.10.

  Restarting Unity "fixes" it (or logging out/logging back), so it seems
  a race between Unity and settings daemon at startup.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1482181/+subscriptions