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 460018 - Rounded window borders don't get rendered correctly
Rounded window borders don't get rendered correctly
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 326061 480258 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-24 20:27 UTC by Martin Ejdestig
Modified: 2008-03-23 19:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Shows incorrectly rendered window borders in preview (29.85 KB, image/png)
2007-07-24 20:28 UTC, Martin Ejdestig
  Details
Add meta_preview_get_clip_region() to preview-widget (3.93 KB, patch)
2008-02-10 23:31 UTC, Thomas Wood
committed Details | Review

Description Martin Ejdestig 2007-07-24 20:27:27 UTC
Rounded window borders don't get rendered correctly in meta theme preview nor under Appearance/Theme Details/Window Border.
Comment 1 Martin Ejdestig 2007-07-24 20:28:38 UTC
Created attachment 92306 [details]
Shows incorrectly rendered window borders in preview
Comment 2 Thomas Wood 2007-07-25 10:00:17 UTC
This also happens in the main meta theme previews. I think this is due to Metacity assuming the window it is drawing on will be shaped. We may need to ask the Metacity developers for help here.
Comment 3 Thomas Thurman 2007-07-27 16:59:30 UTC
Eh, yeah, that looks like our problem. I don't know gnome-control-center as well as I should: what's the name of the executable that generates the dialogue in the screenshot?
Comment 4 Denis Washington 2007-08-04 13:13:35 UTC
(In reply to comment #3)
> Eh, yeah, that looks like our problem. I don't know gnome-control-center as
> well as I should: what's the name of the executable that generates the dialogue
> in the screenshot?
> 

The executable is called gnome-appearance-properties.
Comment 5 Jens Granseuer 2007-08-21 20:07:33 UTC
*shove*
Comment 6 Denis Washington 2007-12-31 16:32:10 UTC
Anything new on this?
Comment 7 Thomas Thurman 2007-12-31 17:24:24 UTC
Nothing new at present; sorry, work has been insanely busy for the last month or so. I'm hoping it will calm down soon. I am getting Metacity work done, but not as fast as I'd like. I will get to this.
Comment 8 Thomas Wood 2008-02-10 20:38:23 UTC
This is actually seems to be a duplicate report of bug 326061.
Comment 9 Thomas Wood 2008-02-10 23:31:13 UTC
Created attachment 104879 [details] [review]
Add meta_preview_get_clip_region() to preview-widget

This patch adds a function that allows applications which use the preview widget to get an appropriate mask for the current theme's shape. This code is basically taken straight from src/ui/frames.c, but converted to GdkRegion instead of X Regions, since unfortunately there is no function to convert between the two.
Comment 10 Thomas Thurman 2008-02-24 20:24:33 UTC
*** Bug 326061 has been marked as a duplicate of this bug. ***
Comment 11 Thomas Thurman 2008-02-25 15:41:47 UTC
This all seems in order.
Comment 12 Thomas Wood 2008-02-25 17:42:27 UTC
Committed to gnome-2-22 branch as well.
Comment 13 Thomas Thurman 2008-03-23 19:19:04 UTC
*** Bug 480258 has been marked as a duplicate of this bug. ***