Problem was when the launcher was hidden, an async message saying the
dash opened was coming through. The dash would enable input, setting X
focus, and XIC focus. When the async message got to the launcher, it
being hidden, then has to reveal it self and when it does that it needs
to enable its input window so it accepts drag and drop from the dash and
events work on it.

The solution now, make sure we sync xevent focus and XIC focus. That is,
if a window is shown in nux it would change the XIC, but xevents are
still being sent to the dashes window (well really generated for), which
the XIC and the xevent would become out of sync. This means XFilterEvent
would just return instead of passing the event to the current IM (the
problem!).

Now we just make sure both are synced so if unity tries to stomp on the
focus things will work out :).

** Also affects: nux
   Importance: Undecided
       Status: New

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

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

** Changed in: nux
       Status: New => In Progress

** Changed in: nux
   Importance: Undecided => Medium

** Changed in: nux (Ubuntu)
   Importance: Undecided => Medium

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

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

** Changed in: nux (Ubuntu)
       Status: In Progress => Invalid

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

** Changed in: nux (Ubuntu)
       Status: Invalid => In Progress

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

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

Title:
  fcitx often fails to work in dash with Unity

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to