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 DX Packages, which is subscribed to unity in Ubuntu. Matching subscriptions: dx-packages, dx-packages https://bugs.launchpad.net/bugs/1175669 Title: fcitx often fails to work in dash with Unity Status in Nux: In Progress Status in Unity: Invalid Status in “nux” package in Ubuntu: In Progress Status in “unity” package in Ubuntu: Invalid Bug description: The input method "fcitx' is supposed to work with Unity dash in raring,but it is not working well. This happens *only* when I set the launcher to hide as default. When I press Super to open the dash and begin to type characters into dash or HUD display (by pressing left alt),sometimes I can activate the input method.In more cases,there aren't any response when pressing "ctrl+space".Sometimes I can't type anything into dash. I've asked a developer of fcitx ("csslayer") but he said he knew nothing about it.He said it could be a bug of unity and suggested me to report the bug here. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: unity 7.0.0daily13.04.18~13.04-0ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8 Uname: Linux 3.8.0-19-generic i686 NonfreeKernelModules: fglrx ApportVersion: 2.9.2-0ubuntu8 Architecture: i386 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Thu May 2 23:51:07 2013 InstallationDate: Installed on 2012-05-01 (365 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423) MarkForUpload: True SourcePackage: unity UpgradeStatus: Upgraded to raring on 2013-04-03 (28 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/nux/+bug/1175669/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp