GNOME Bugzilla – Bug 399373
missing pixel in rendering rounded corners (all themes)
Last modified: 2007-04-09 02:12:12 UTC
The 2.17 metacity seems to have introduced a misrendering of the old style themes which have rounded corners. Attached are some zoomed screenshots exposing the misrendering. It appears on all themes with rounded corners I have tested.
Created attachment 80888 [details] missing pixel in the rounded corner rendering (gilouche)
Created attachment 80889 [details] same error on clearlooks
Created attachment 80890 [details] and yet again, missing pixel
Oh, goodness, yes. Elijah found this problem in bug 360542 comment 9. I think we should adopt the fudge he specified in that comment to fix this.
Ubuntu bug about that: https://launchpad.net/ubuntu/+source/metacity/+bug/83847
Created attachment 82765 [details] Round corners in gnumeric Demonstration of a possible better corner rendering method.
Created attachment 82767 [details] [review] New method or rounding corners. Implements what was demonstrated in the gnumeric file.
Also, the bottom rounded corners code contains an off by one error: - xrect.y = new_window_height - i; + xrect.y = new_window_height - i - 1;
Current broken code is in GNOME 2.18, and in Ubuntu 7.04. Makes GNOME and Ubuntu look bad. :(
Maybe I should move this up to the top of my work queue.
Arthur: a winner is you. Committed, and fixed.
any reason the change has not been commited to the 2.18.1 version?
It will be in 2.18.2.