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 695988 - Attach buffer before committing
Attach buffer before committing
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-17 10:28 UTC by Emilio Pozuelo Monfort
Modified: 2013-03-18 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emilio Pozuelo Monfort 2013-03-17 10:28:58 UTC
After this commit wayland requires an explicit attach before every commit

http://cgit.freedesktop.org/wayland/weston/commit/?id=e7144fd175d1d68b91aa0cec7ab63381b79385a9

This causes gtk+ clients to not render properly, as can be seen with gtk3-demo.

This patch from Scott Moreau fixes this.

https://github.com/soreau/gtk/commit/179b4a6d5343e8701e7b9a06c202d8e29685ecd1
Comment 1 Rob Bradford 2013-03-18 14:04:53 UTC
Landed this patch to master:

commit 0d2c4617203c8fe907c722c9cb53c0345e0405e7
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>