After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 701341 - Windows only paint once in Weston 1.1
Windows only paint once in Weston 1.1
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-05-31 10:26 UTC by Ross Burton
Modified: 2013-05-31 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ross Burton 2013-05-31 10:26:10 UTC
Wayland 1.1, GTK+ 3.8.2, Weston 1.0 works fine.

Upgrade Weston to 1.1 and suddenly gtk3-demo only paints on the initial creation.  Any interaction with the window has the effect intended (i.e. new windows will appear if you activate entries in the demo list) but nothing will change in the windows themselves.
Comment 1 Rob Bradford 2013-05-31 12:56:44 UTC
My *hunch* is that we need to adapt to the correct behaviour of attach, damage and then commit which weston is now enforcing.
Comment 2 Rob Bradford 2013-05-31 14:14:26 UTC
Here is the commit that needs to be backported:
 
commit 2caccf91e47ba20ce92d31c6dcb2db8411fd281e
Author: Scott Moreau <oreaus@gmail.com>
Date:   Sun Mar 10 10:51:01 2013 -0600

    wayland: Always attach buffer before committing
    
    With recent changes in attach semantics, we always need to attach before
    committing. Without this changes to the window contents to not get reflected
    in the content of the surface.
    
    Signed-off-by: Rob Bradford <rob@linux.intel.com>
Comment 3 Rob Bradford 2013-05-31 14:27:12 UTC
Pushed to 3.8 branch:

commit f9dd457b25c66bf86925369339766ceb9112a92c
Author: Scott Moreau <oreaus@gmail.com>
Date:   Sun Mar 10 10:51:01 2013 -0600

    wayland: Always attach buffer before committing
    
    With recent changes in attach semantics, we always need to attach before
    committing. Without this changes to the window contents to not get reflected
    in the content of the surface.
    
    Signed-off-by: Rob Bradford <rob@linux.intel.com>
    
    Cherry picked to fix: https://bugzilla.gnome.org/show_bug.cgi?id=701341