compiz leads to flickering

Bug #233252 reported by Benjamin Kampmann
4
Affects Status Importance Assigned to Milestone
Moovida
Won't Fix
Medium
Benjamin Kampmann

Bug Description

On compiz system with other windows in background, elisa is flickering: work-a-round could be to automatically hide all other windows, if we are in compiz-enviroment.

Revision history for this message
Benjamin Kampmann (benjamin-fluendo) wrote :

done in [changeset:3769]

Revision history for this message
Florian Boucault (fboucault) wrote :

review done, some fixes needed

Revision history for this message
Benjamin Kampmann (benjamin-fluendo) wrote :

fixed in [changeset:3772].

Revision history for this message
Florian Boucault (fboucault) wrote :
Revision history for this message
Loïc Molinari (loic.molinari) wrote :

Or even better, since i'm seeing that you're using wnck, the library can retrieve that information through the wnck_screen_net_wm_supports function. I didn't get a look at the Python equivalent, but you just need to give as parameter the correpsonding _NET_WM atom which is _NET_WM_CM_Sn, where n is the screen number. You can retrieve the screen number with wnck as well.

Revision history for this message
Florian Boucault (fboucault) wrote :

Also:

s.toggle_showing_desktop(True)

hides _all_ the windows (Elisa included) and this is obviously not good.

Revision history for this message
Benjamin Kampmann (benjamin-fluendo) wrote :

Florian: did you at least test it?

It is not hiding the elisa-windows, because the elisa window is not existing yet. You would have seen that. Do you really thing I would commit this code without testing it?

On the other part: I'm not sure that detecting the 'composite' possibilities means to detect ''compiz'' always. And the wnck_screen_net_wm_support [1] related specification does not say anything about compiz or composite.

Anyway. It is working for now and also marked as a work-a-round. We should fix this in a better way after the release: '''postponded'''!

[1] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html

Revision history for this message
Florian Boucault (fboucault) wrote :

I tested it on Feisty and all the windows are minimized. It's probably done asynchronously by the window manager.

Loïc: what do you think about the wnck_screen_net_wm_support thing?

Revision history for this message
Loïc Molinari (loic.molinari) wrote :

The problem appears with compositing window managers, and it's not only a Compiz issue. What about beryl or compiz-fusion for instance? This is a known issue with accelerated OpenGL applications running over a compositing window manager. The solution requires deep changes in Xorg and the DRI drivers, some people are working on that and this is called Redirected Direct Rendering. If you want more information you can take a look at https://wiki.ubuntu.com/RedirectedDirectRendering.

I confirm that wnck_screen_net_wm_support is the good way to check for it. You just need to retrieve the screen number and give the "_NET_WM_CM_Sn" string as parameter, the function will return whether or not compositing is supported by the window manager.

Revision history for this message
Benjamin Kampmann (benjamin-fluendo) wrote :

okay. desktop toggle is fixed in [changeset:3786]. the dectecting is not working on my feisty with gtk.gdk or wnck. So we stick to ps for the release.

postponded

Revision history for this message
yyoyo (lionel.martin) wrote :

Please disable the window minimize

Revision history for this message
Benjamin Kampmann (benjamin-fluendo) wrote :

[changeset:4844 window minimize disabled]. everything gets postponed

Revision history for this message
Florian Boucault (fboucault) wrote :

Issue Elisa cannot do anything about.

Changed in elisa:
status: New → Won't Fix
Revision history for this message
Andy C. (ndc) wrote :

Try disabling the Desktop Cube in Compiz. It worked for me.

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.