Bug 91803

Summary: Window-to-window XCopyArea and clip masks
Product: xorg Reporter: Dave Odell <dmo2118>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium CC: dmo2118
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Screenshots and test program
none
X log files none

Description Dave Odell 2015-08-30 05:26:53 UTC
Created attachment 117986 [details]
Screenshots and test program

I'm getting strange behavior when I:
1. Do an XCopyArea from one part of a window to another...
2. Having an origin with one or both coordinates < 0...
3. With a clip mask.

Sometimes I get the window background and no source area, sometimes I get a sliver of the source area, sometimes the area in the destination outside of the source has a checkerboard window background from the clip mask, and sometimes it's solid. And the only thing that changes is the origin for the source area rectangle. This can't be right...can it?

This has happened on every X server I've tried so far. I'm attaching a test program so you can try it on yours.
Comment 1 Dave Odell 2015-09-02 12:58:14 UTC
FWIW, version numbers:

name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    11604000
X.Org version: 1.16.4

name of display:    /tmp/launch-m3zGmD/org.macports:0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    11604000
X.Org version: 1.16.4

name of display:    :0
version number:    11.0
vendor string:    The Cygwin/X Project
vendor release number:    11501000
Comment 2 Michel Dänzer 2015-09-09 08:26:55 UTC
Please attach the corresponding /var/log/Xorg.0.log file.
Comment 3 Dave Odell 2015-09-11 05:37:43 UTC
Created attachment 118204 [details]
X log files

Log files coming up.

(These machines don't correspond with either the screenshots or the xdpyinfo dumps, but I was able to verify that they demonstrate the issue at hand just the same.)
Comment 4 Michel Dänzer 2015-09-11 08:28:50 UTC
Looks like it happens with non-Xorg DDXen as well.
Comment 5 GitLab Migration User 2018-12-13 22:32:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/480.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.