On Tue, 21 Feb 2012, Daniel van Vugt wrote:

> Found the problem. Unity is unique in that it intercepts handleEvent()
> and blocks even core from receiving KeyPress events that it wants. So
> core never gets the KeyPress event and never has the opportunity to
> XAllowEvents.
>
> This is bad design on Unity's part. But at the same time it's a bad
> thing that compiz allows plugins to shoot themselves in the feet.
>
> Now trying to find a fix for compiz-core instead of the obvious fix to
> Unity itself...
>

The ability for plugins to "short circuit" wrapable function calls is 
indeed by design.

In this case the XAllowEvents call should be moved to /before/ 
WRAPABLE_HND_FUNCTN . Eg, put it in PrivateScreen::processEvents.

> -- 
> You received this bug notification because you are a member of Compiz
> Maintainers, which is the registrant for Compiz Core.
> https://bugs.launchpad.net/bugs/934058
>
> Title:
>  [regression] Launcher, top panel and keyboard un-responsive after
>  using any Super-x shortcut
>
> Status in Compiz Core:
>  In Progress
> Status in “compiz” package in Ubuntu:
>  Fix Released
>
> Bug description:
>  Last night's update to Unity 5.4 RC1 broke Super-x shotcuts in such a
>  way that whenever I use one of those shortcuts, the launcher, top
>  panel and keyboard become completely un-responsive.
>
>  Steps to reproduce:
>  1. Log in
>  2. Use a Unity shortcut (e.g. Super-a or Super-2)
>
>  Expected behaviour
>  The shortcut works and Unity keeps working fine.
>
>  Actual behaviour
>  After using the shortcut, the shortcut overlay on the launcher stay 
> displayed, the launcher is unresponsive and so is the top panel. Any attempt 
> to enter text into any application fails. On the other hand, CTRL-ALT-F1 to 
> swap to a text terminal works.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 12.04
>  Package: unity 5.2.0+bzr1975ubuntu0+644.really1977
>  ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
>  Uname: Linux 3.2.0-16-generic x86_64
>  ApportVersion: 1.91-0ubuntu1
>  Architecture: amd64
>  CompizPlugins: 
> [core,bailer,detection,composite,opengl,compiztoolbox,decor,move,vpswitch,snap,imgpng,gnomecompat,mousepoll,place,resize,grid,regex,session,wall,animation,workarounds,expo,fade,ezoom,scale,unityshell]
>  CrashDB: unity
>  Date: Fri Feb 17 09:22:52 2012
>  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
>  ProcEnviron:
>   LANGUAGE=en_GB:en
>   PATH=(custom, no user)
>   LANG=en_GB.UTF-8
>   SHELL=/bin/bash
>  SourcePackage: unity
>  UpgradeStatus: Upgraded to precise on 2012-02-11 (5 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/compiz-core/+bug/934058/+subscriptions
>

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

Title:
  [regression] Launcher, top panel and keyboard un-responsive after
  using any Super-x shortcut

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to