Window with no background contains random data with composite

Bug #64910 reported by Olivier Fourdan
2
Affects Status Importance Assigned to Milestone
X.Org X server
Invalid
Medium
xorg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Creating a window with no pixmap and no bg color when using a compositor in Ubuntui Edgy returns a pixmap with random data.

Without a compositor, creating a window w/out a back pixmap nor a bg color gives a windows inheriting underlying content (ie whatever was under the window at the time of creation).

When running a compositor with Xorg 7.0 in Dapper, it works the same. But when running a compositor with Xorg 7.1 in Edgy, the window shows with random data, not unlike an uninitialized pixmap...

This is a problem because many apps, like gtk+, create its top level windows w/out bg pixmap or pixel and it shows when running a compositor

I reported this to the Xorg guys, along with a test case and relevant screenshots, but I've been told that it works fine with their version, and that's a bug with a patch applied by the distribution.

Please see https://bugs.freedesktop.org/show_bug.cgi?id=8558 for a complete report with test case and screenshots.

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

Created an attachment (id=7288)
Test case

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

Created an attachment (id=7289)
A window with no background without any compositor running

This shows the "regular" expected behavior w/out any compositor running

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

Created an attachment (id=7290)
A window with no background with a compositor in Xorg 7.0

The window has no content with a compositor in Xorg 7.0, this is the expected
behavior.

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

Created an attachment (id=7291)
A window with no background with a compositor running in Xorg 7.1

Now, in Xorg 7.1, when a compositor is running, the window shows random data.
The problem shows equally when using XCompositeNameWindowPixmap () or when
accessing the drawable id directly. It seems that the buffer pixmap is not
properly initialized in Xorg 7.1.

Revision history for this message
In , Michel-tungstengraphics (michel-tungstengraphics) wrote :

The test case works fine here with current git (and the xfwm4 compositor :). Did
you build the X server yourself? Some distros use a patch with this effect for
performance reasons.

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

I'm using Ubuntu Edgy on an AMD64.

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

Yeap, ok, I've filled a bug in Launchpad for Ubuntu then.

Revision history for this message
Olivier Fourdan (fourdan) wrote :

Creating a window with no pixmap and no bg color when using a compositor in Ubuntui Edgy returns a pixmap with random data.

Without a compositor, creating a window w/out a back pixmap nor a bg color gives a windows inheriting underlying content (ie whatever was under the window at the time of creation).

When running a compositor with Xorg 7.0 in Dapper, it works the same. But when running a compositor with Xorg 7.1 in Edgy, the window shows with random data, not unlike an uninitialized pixmap...

This is a problem because many apps, like gtk+, create its top level windows w/out bg pixmap or pixel and it shows when running a compositor

I reported this to the Xorg guys, along with a test case and relevant screenshots, but I've been told that it works fine with their version, and that's a bug with a patch applied by the distribution.

Please see https://bugs.freedesktop.org/show_bug.cgi?id=8558 for a complete report with test case and screenshots.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thank you for reporting this bug in Edgy. Could you please test it against Gutsy to see if the problem exists in Ubuntu's current development tree?

Changed in xorg:
status: New → Incomplete
Changed in xorg-server:
status: Unknown → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server:
importance: Unknown → Medium
Changed in xorg-server:
importance: Medium → Unknown
Changed in xorg-server:
importance: Unknown → Medium
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.