← Back to team overview

compiz team mailing list archive

[Bug 969039] Re: HUD appears when tapping Alt+Left very quickly

 

Yay found the problem....

So. Compiz does indeed grab all the keys, which is why its hard to
reproduce. The problem is for some reason in unityshell.cpp when alt tab
terminates it ends up eventually doing XUngrabKey() on all the arrow
keys!! So to correctly reproduce this:

1) Alt+Tab (just open the switcher and close it)
2) Attempt a alt+<arrow_key>

The offending code is here:
bool UnityScreen::altTabTerminateCommon(....)
{
  ....
  screen->removeAction(&optionGetAltTabRight ());
  screen->removeAction(&optionGetAltTabDetailStart ());
  screen->removeAction(&optionGetAltTabDetailStop ());
  screen->removeAction(&optionGetAltTabLeft ());
  ...
}

So before I push a branch i have to track down what that code is
for...or what it was really fixing (don't want another regression).

It ends up ungrabbing these keycodes:

111 <- Up arrow
113 <- Left arrow
114 <- Right arrow
116 <- Down arrow

Ill attempt to get a branch out for this next week!

** Changed in: compiz-core
       Status: Confirmed => Invalid

** Changed in: compiz
       Status: Confirmed => Invalid

** Changed in: compiz (Ubuntu)
       Status: Confirmed => Invalid

** Also affects: unity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity (Ubuntu)
       Status: New => In Progress

** Changed in: unity (Ubuntu)
   Importance: Undecided => High

** Changed in: unity (Ubuntu)
     Assignee: (unassigned) => Brandon Schaefer (brandontschaefer)

** Changed in: unity
    Milestone: None => 7.1.1

** Changed in: unity
       Status: Confirmed => In Progress

** Changed in: unity-distro-priority
       Status: New => In Progress

** Changed in: unity-distro-priority
       Status: In Progress => Confirmed

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/969039

Title:
  HUD appears when tapping Alt+Left very quickly

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