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 551566 - drawing artifacts when resizing
drawing artifacts when resizing
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Display
git master
Other Linux
: Normal normal
: ---
Assigned To: Soren Sandmann Pedersen
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-09 20:42 UTC by Christian Persch
Modified: 2008-10-09 01:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing the problem (32.42 KB, image/png)
2008-10-07 19:46 UTC, Christian Persch
Details

Description Christian Persch 2008-09-09 20:42:26 UTC
Steps to repro:
0) Open the new xrandr display capplet
1) Make the dialogue narrower by resizing it from the window border
2) Make it smaller again

Results:
In step 2, the drawing area will paint outside its allocated area, drawing the background behind the combo boxes.
Comment 1 Christian Persch 2008-09-09 20:58:00 UTC
Oops, sorry. Step 2 should be "increase the vertical size of the dialogue", not making it narrower.
Comment 2 Jens Granseuer 2008-10-07 19:30:36 UTC
I cannot reproduce this behaviour.
Comment 3 Christian Persch 2008-10-07 19:46:40 UTC
Created attachment 120155 [details]
screenshot showing the problem

Still reproducible on svn trunk.
Comment 4 Jens Granseuer 2008-10-07 19:52:08 UTC
Ugh! /me suspects cairo. 1.4.14 works just fine here.
Comment 5 Christian Persch 2008-10-07 20:18:24 UTC
Happens here with both system cairo (1.7.6) and cairo git (reports as 1.8.1).
Comment 6 Soren Sandmann Pedersen 2008-10-09 01:22:21 UTC
+Wed Oct  8 21:20:21 2008  S�ren Sandmann  <sandmann@redhat.com>
+
+	* scrollarea.c (foo_scroll_area_size_allocate): XOR the old and
+	the new regions instead of subtracting old from new. Fixes bug
+	551566, reported by Christian Persch.
+