race condition in configureXWindow causes unpredicatable window geometry changes

Bug #860304 reported by Sam Spilsbury on 2011-09-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz Core
High
Sam Spilsbury
compiz (Ubuntu)
High
Sam Spilsbury

Bug Description

There is a race condition in configureXWindow/moveWindow, where the latter updates the geometry last sent and received from the server immediately and unconditionally rather than on XConfigureWindow and ConfigureNotify. When these two operations happen close to each other while we are waiting for ConfigureNotify events, they can cause those ConfigureNotify events to be processed incorrectly.

Related branches

Changed in compiz-core:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Sam Spilsbury (smspillaz)
milestone: none → 0.9.6
David Barth (dbarth) on 2011-09-28
Changed in compiz (Ubuntu):
status: New → Fix Committed
Changed in compiz-core:
status: In Progress → Fix Committed
Changed in compiz (Ubuntu):
assignee: nobody → Sam Spilsbury (smspillaz)
importance: Undecided → High
milestone: none → ubuntu-11.10
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.6-0ubuntu1

---------------
compiz (1:0.9.6-0ubuntu1) oneiric; urgency=low

  * New upstream release 0.9.6:
   - Windows which are marked transients of docks should be treated like docks (LP: #860397)
   - Applications which create multiple windows that are transients of each other can be given invalid stack positions (LP: #858625)
   - race condition in configureXWindow causes unpredicatable window geometry changes (LP: #860304)
   - invisible window when a window is mapped but not yet drawn on by the process mapping it (LP: #860286)
   - resizing bugs with xterm (LP: #854725)
   - Cannot open a window that starts iconified (LP: #732997)
   - maximized windows fail to update their input extents when undecorated (LP: #853734)
   - Clicking on a tweet/message link sometimes does not work (LP: #790565)
   - crash on closing a window (LP: #856015)
   - Windows move to 0,0 on compiz restarts (LP: #858629)
   - windows that are decorated while resizing can cause incorrect resize results (LP: #860306)
   - remove transient window handling from unity-window-decorator (LP: #856096)
 -- Didier Roche <email address hidden> Wed, 28 Sep 2011 14:15:21 +0200

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Changed in compiz-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers