Comment 30 for bug 953089

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Unity 5.6: key bindings (such as Super) don't work on empty workspace

Narrowed the problem down to TapTimeUnderLimit() returning false, even though was_tap==true. No idea why it returns false on slow/busy machines. Maybe we need to use more accurate timing functions?

void Controller::HandleLauncherKeyRelease(bool was_tap)
{
  if (pimpl->TapTimeUnderLimit() && was_tap)
  {
    pimpl->SendHomeActivationRequest();
  }

If someone could solve this before I wake up tomorrow, that would be excellent...