Wallpaper plugin broken in Natty (11.04 alpha)

Bug #697623 reported by Lorenzo
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: compiz

Natty 11.04 (alpha 1)
compiz-fusion-plugins-extra-0.9.2.1

In Natty 11.04 , the activation of wallpaper plugin from compiz-fusion-plugins-extra-0.9.2.1 gives annoying corruptions in the screen.
I guess is the same bug which affects Maverick 10.10 .
The solution indicated in https://bugs.freedesktop.org//show_bug.cgi?id=30260 can be used as a guideline, even if the code is somewhat different.
In the attachment I provide the code which reflects that patch and fixes the problem.

Revision history for this message
Lorenzo (lorped) wrote :
Revision history for this message
Lorenzo (lorped) wrote :

also the include file must be changed

description: updated
Revision history for this message
Lorenzo (lorped) wrote :
description: updated
Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 697623] Re: Wallpaper plugin broken in Natty (11.04 alpha)

That's an interesting patch - but I don't get why we have to delay
mapping the window until we get a DamageNotify, that behaviour just
seems downright bizzare to me

On Wed, Jan 5, 2011 at 8:01 PM, Lorenzo <email address hidden> wrote:
>
> ** Attachment added: "wallpaper.h"
>   https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/697623/+attachment/1783984/+files/wallpaper.h
>
> --
> 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/697623
>
> Title:
>  Wallpaper plugin broken in Natty (11.04 alpha)
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

tags: added: patch
Changed in compiz (Ubuntu):
importance: Undecided → Low
tags: added: patch-needswork
removed: patch
Revision history for this message
Hiisukun (hiisukun) wrote :

This affects me as well. Having used 10.10 and suffered this bug for a while (I used to switch to tty 2 then back, but recently included the wallpaper.c patch.. which mostly fixed my problems) I was looking forward to this being something that was repaired in 11.04.

It is a shame to see it still is broken. If the wallpaper plugin doesn't function at all - shouldn't it be a slightly higher priority?

Just a cosmetic feature I know.. anyway.

Revision history for this message
BryanFRitt (bryanfritt) wrote :

I put down Compiz Wallpaper as one of my top (if not the top) of my most wanted features that used to work, but no longer do. I even tried switching to GNOME/KDE/XFCE/and hybrid combinations, hoping Compiz wallpaper would start working, but Compiz wallpaper still doesn't work, at least with K/Ubuntu 10.10. Any chance of Compiz wallpaper working again for K/Ubuntu 11.04, etc...?

Revision history for this message
Hiisukun (hiisukun) wrote :

Any chance you guys could help me use that patch to update my wallpaper plugin?
I have build-essential and have followed the directions from Lorenzo's 10.10 thread on this post.

I have the compiz-plugins-extra-0.9.4/ folder. However when I type ./configure I get:
  bash: ./configure: No such file or directory

I can't run make in either the wallpaper or the wallpaper/src folder. I have replaced the .cpp and the .h file with the ones above me in this thread.. but now what? : D

Revision history for this message
Hiisukun (hiisukun) wrote :

I managed to git checkout the current wallpaper plugin - but when I replaced the .cpp and .h files with the ones above it didn't compile. I had to adjust GLTexture::readImageToTexture on line 165.. back to the original that has a second string reference.

Attached file compiles.

Revision history for this message
Hiisukun (hiisukun) wrote :

Despite some adjustments to the above file, I couldn't get the wallpaper plugin to function at all in natty. I managed to get the wallpaper.cpp and .h file compiled and all that - but it didn't work. I went to a 10.10 system I have and used a similar edit to the wallpaper source there, and got it working.
There is perhaps something in gnome in 11.04 and the way it draws wallpapers that causes this plugin not to function at all.
/Sadface.

Revision history for this message
BryanFRitt (bryanfritt) wrote :

I got 'Compiz Wallpaper' working in 'Ubuntu Classic Session' in 'Ubuntu 11.04 beta 2' in' Virtualbox with 4.0.4', with the desktop icons hidden, with .the 'VirtualBox 4.0.5 Guest Additions pre-release', and 'compiz-plugins-extra' (and upgrades, etc...) installed using 'Synaptic'

'Compiz --replace' would freeze the system if run from an 'Ubuntu Session', I haven't tried this yet from a KDE session. The desktop icons hidden option messes up the 'Ubuntu session' background. (pixels don't get replaced with the background when they should)

see also:
http://linuxblog.pansapiens.com/2008/11/25/hide-the-desktop-icons-in-gnome-for-a-clutter-free-ubuntu/

Revision history for this message
BryanFRitt (bryanfritt) wrote :

@Hiisukun, If I remember right, you have to do something like `mkdir build` `cd build` `cmake ..` `make` `sudo make install` in the 'plugins-extra' folder instead of just the 'wallpaper' folder.

Note: I didn't try this method out for Ubuntu 11.04.

Revision history for this message
BryanFRitt (bryanfritt) wrote :

'Compiz Wallpaper' didn't work for me in KDE for Ubuntu 11.04 beta 2. Compiz worked for the most part however.
Note: When I started Compiz, it's settings weren't kept from the GNOME session.

Revision history for this message
BryanFRitt (bryanfritt) wrote :

'Compiz Wallpaper' didn't work for me in KDE for Ubuntu 11.04 beta 2. Compiz worked for the most part however.
Note: When I started Compiz in KDE, it's settings weren't kept from the GNOME session.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Lysenko Denis (pharmasolin) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu and cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu please comment on why that is the case and change the bug status to NEW.

Changed in compiz (Ubuntu):
status: Confirmed → Invalid
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.