Fix Released in Unity Unity 7.0.0 "R series".

** Changed in: unity
       Status: Fix Committed => Fix Released

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

Title:
  Dash and HUD do not have X event focus, causing XIM to not work.

Status in Unity:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  When the Dash or HUD is open the Launcher has X event focus. This
  means XIM will not work with either because the events generated are
  ment for the Dash or HUD not the Launcher.... Here is the bit of
  offending code:

    unityshell.cpp-2726

    // We do this after the notify to ensure input focus has actually been 
moved.
    if (n == CompWindowNotifyFocusChange)
    {
      UnityScreen* us = UnityScreen::get(screen);
      CompWindow *lw;

      // can't rely on launcher->IsOverlayVisible on focus change (because ubus 
is async close on focus change.)
      if (us && (us->dash_controller_->IsVisible() || 
us->hud_controller_->IsVisible()))
      {
        lw = screen->findWindow(us->launcher_controller_->LauncherWindowId(0));
        lw->moveInputFocusTo();
      }
    }

  
  Ill have to look into a good soultion to this problem...as the point of this 
code is to avoid losing focus of the Dash or HUD when an external program is 
opened...So this regession needs to be avoided. (And no you can't simply 
refocus the dash or hud, that doesn't give key focus back...)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to