GNOME Bugzilla – Bug 647929
Don't use "border-radius: 3" by default
Last modified: 2011-04-26 18:47:45 UTC
border-radius influences the way backgrounds are drawn. If a border-radius is set, a rounded rectangle is drawn for every gtk_render_background(). This causes two problems: 1) What we draw is not what we see. We draw rounded rectangles even for GtkWindow, but a GdkWindow does not have rounded rectangles. This is not visible because the windows of windowed widgets get cleared to the background color by default. It can lead to subtle bugs though, like for example when applications decide to disable double-buffering which will cause the background to not be auto-cleared anymore. 2) It's a performance issue. Cairo needs to spend a lot of time computing rounded rectangles when it could just draw a normal rectangle.
I fixed this in master now. Though removing it doesn't seem to break anything significant at first sight, I want to test it a bit more before pushing it to gnome-3-0 too; I'll try to do this before 3.0.2.