← Back to team overview

compiz team mailing list archive

Re: [Bug 671459] Re: [compiz++] Compiz sometimes loses focus when closing some windows

 

On Sat, Jun 11, 2011 at 11:02 PM, Daniel Wagenaar <daw@xxxxxxxxxxx> wrote:
> In Compiz 0.9.4.0 as shipped with Ubuntu 11.04 this bug still affects
> me. I am not using Unity, but "classic gnome". When I close the last
> window on a workspace using key bindings, so that no window has focus
> any more, key bindings cease to work. I first noticed this happening if
> Nautilus is running without drawing the desktop (I use Compiz's
> wallpaper plugin). However, the problem did not go away if I re-enabled
> Nautilus's desktop.

Interesting. Could you run xev -root in a terminal, reproduce this bug
and then send me the output ?

>
> Perhaps this is naive, but why doesn't Compiz process key bindings
> independently of whether any window has focus? Focus state seems hardly
> relevant for key bindings for, e.g., Desktop Wall.

We use XGrabKey, so this shouldn't be an issue.

>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/671459
>
> Title:
>  [compiz++] Compiz sometimes loses focus when closing some windows
>
> Status in “compiz” package in Ubuntu:
>  Fix Released
>
> Bug description:
>  Binary package hint: compiz
>
>  With compiz++, closing certain windows can cause focus to be
>  completely lost, such that even Compiz's keybindings do not work until
>  clicking on another window.
>
>  Currently the only consistent way I have been able to reproduce it is
>  using Pidgin, by bringing the buddy list to the top via a keybinding
>  in Compiz and this command: dbus-send --session
>  --dest=im.pidgin.purple.PurpleService --print-reply
>  /im/pidgin/purple/PurpleObject
>  im.pidgin.purple.PurpleInterace.PurpleBlistSetVisible int32:1
>
>  What happens is:-
>  1. Press keybinding
>  2. Pidgin's window appears on top of everything, but unfocused, and demanding attention (focus prevention = normal)
>  3. Use the "Activate Demanding Attention Window" action from Extra WM Actions
>  4. Pidgin is now focused. Press Alt+F4 to get rid of it.
>  5. Focus is now completely lost, and none of Compiz's keybindings work until clicking on a window to bring focus to it.
>
>  Further experimentation has shown that Pidgin's buddy list window is
>  the only one which appears on top even when not focused, and I think
>  this may be related to why focus is lost when closing this window.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/671459/+subscriptions
>


-- 
Sam Spilsbury

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

Title:
  [compiz++] Compiz sometimes loses focus when closing some windows

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/671459/+subscriptions


Follow ups

References