I found a workaround that solved it for me. It seams the reason for this is somehow related to equal key bindings in compiz plugins for unity and gnome compatibility. Disabling the key bindings in gnome compatibility plugin solved this for me.
-- You received this bug notification because you are a member of DX Packages, which is subscribed to unity in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/971462 Title: When HUD is enabled, AltGr/Compose still causes focus stealing from the widget Status in Compiz: Confirmed Status in Unity: Confirmed Status in “unity” package in Ubuntu: Confirmed Bug description: STR: 1. Make sure that HUD is enabled 2. Make sure you are using a keyboard layout that uses a Compose key (e.g. English (UK)) 3. Open http://people.canonical.com/~roman.yepishev/blur.html in firefox or chromium 4. Put the cursor in the field and press AltGr/Compose key 5. Observe that "Blurred" is appended on the page Expected results: Compose sends nothing (as it happens when HUD is disabled) Actual results: Widget loses focus for a fraction of the second. Impact: This is most noticeable in the web pages that make use of 'blur' event handler, such as PicasaWeb, where the image title is updated once the focus leaves the field, thus making it impossible to properly change the title of the picture. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: unity 5.8.0-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13 Uname: Linux 3.2.0-21-generic x86_64 ApportVersion: 2.0-0ubuntu2 Architecture: amd64 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] Date: Mon Apr 2 11:28:58 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120225) SourcePackage: unity UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/971462/+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