[jaunty] compiz seems to ignore gtk_window_set_accept_focus(GTK_WINDOW(window), FALSE);

Bug #341092 reported by Michael Flaig
2
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Undecided
Michael Flaig

Bug Description

Binary package hint: compiz

There seems to be a problem in compiz which affects at least cellwriter (Package cellwriter)
Cellwriter inputs written text into the active window and therefore has to not accept the focus.
  gtk_window_set_accept_focus(GTK_WINDOW(window), FALSE);

This works with metacity as expected. Cellwriter never gets the focus.

When switching desktop effects on it also works in this session, however after logging in again it doesn't work right anymore. Compiz then seems to ignore the setting above and gives cellwriter the focus. This is of course bad because the input then can't go to the window it is supposed to go.

There is already a Bug open for cellwriter, see https://bugs.launchpad.net/bugs/333054 for details. But as you can read there cellwriter can not do anything about not getting the focus then set accept_focus to FALSE. Therefore I concur that the problem must be located somewhere in compiz.

Short update: I forgot to mention that this worked with intrepid and compiz before

Michael Flaig (mflaig)
description: updated
Revision history for this message
Michael Flaig (mflaig) wrote :

This bug is still present in beta.
Could somebody with compiz knowledge please look into it and take it upstream?

Michael Flaig (mflaig)
Changed in compiz:
status: New → Confirmed
Revision history for this message
Michael Flaig (mflaig) wrote :
Revision history for this message
Michael Flaig (mflaig) wrote :

As the opencompositing guys didn't get the same effect I checked every setting in ccsm again and by enabling the glib main loop support it seems that the problem is now gone. I did this before but enabling glib main loop actually needs a session restart to take effect.

I will close the bug report with this comment. Hopefully this report helps others running in the same problem to solve it more quickly...

Revision history for this message
Michael Flaig (mflaig) wrote :

fix was enabling glib main loop support and restarting the session afterwards

Changed in compiz:
assignee: nobody → mflaig
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.