[gutsy] Clicking KDE desktop with compiz running puts desktop on top

Bug #148282 reported by Mikael Gerdin
2
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: compiz-kde

When I click somewhere on the KDE desktop the desktop "window" is put on top of all other windows, including kicker. I also use "focus follows mouse", and now when I put the pointer over the desktop window, the last focused windows loses focus and I suspect that the desktop window gets focus, this was not the case before.

Another symptom of this bug is that my conky window only appears o cube-face #1, not on any of the others.
The last symptom is that file icons and folders in my ~/Desktop/ folder only appears on desktop #1, not on any of the others, this could suggest that this entire issue might be related to another bug: (LP #147322)

I suspect that this might have something to do with some X-window property of the KDE desktop window that makes compiz (but not kwin) think that the desktop is a "normal" window. (maybe related to the patch fixing kde-screensaver+compiz?)

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

This is the output of xprop for desktop #1

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

This is the output of xprop on one of the other desktops (#4 in this case, but they all differ a lot from #1)

Revision history for this message
Travis Watkins (amaranth) wrote :

Does disabling the workarounds plugin fix this?

Changed in compiz:
status: New → Incomplete
Revision history for this message
Mikael Gerdin (mgerdin) wrote :

Yes, but disabling it completely obviously raises some other issues that it fixes.
I've tried enabling and disabling some of its subcomponents, but it's hard to tell which combination of plugins breaks it because I have to log in and out of KDE each time i change the settings.
Right now I think that it's only the topmost option (Legacy Fullscreen Support) that causes this particular bug.

Revision history for this message
Bart Cerneels (stecchino) wrote :

Disabling "Legacy Fullscreen Support" certainly doesn't work for me. Even disabling "Workarounds" completely is no good either.
I have this problem on my laptop, with intel 915 graphics and on my work desktop, a nvidia card with twinview enabled. On the desktop it only effects the second screen though. That would be the screen without kicker and the kdesktop menubar. The primary screen is unaffected.

Yesterday I thought I got rid of the bug after disabling the "viewport switch" plugin. The bug returned after reboot however.
This problem didn't exist in previous versions of compiz, possibly from the beta's, before gutsy was released.

Revision history for this message
Bart Cerneels (stecchino) wrote :

My previous comment is wrong, disabling the "Legacy Fullscreen" workaround and restarting (I restarted completely, reboot) made the bug go away. Previous attempts to just restart compiz using #compiz --replace & didn't have that result.

Revision history for this message
Iulian Udrea (iulian) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release?

Thank you.

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

I've had some issues with KDE and Compiz and I've stopped using Compiz as my window manager, however when I last tried Compiz and KDE then I did not see this particular problem.

Revision history for this message
Travis Watkins (amaranth) wrote :

We had this problem in GNOME too and fixed it, I think it should have fixed it for KDE as well.

Changed in compiz:
status: Incomplete → 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.