RawHide Bluecurve theme problem: More Info

Garrett LeSage garrett at redhat.com
Tue Aug 19 21:37:55 UTC 2003


Noah Silva [Mailing list] wrote:

>Hi,
>
>I was trying to figure out the problem to the previously reported problem
>all morning, and wrongly thinking GAIM somehow caused the problem.  In
>fact, the problem only occurs in windows with Japanese charicters in the
>title bar - somehow the hight is under-estimated in that case.
>
>I am using the "Bitstream Vera Sans" font, size 10 for the window
>captions.
>
>Using some fonts, like "Fixed", fixes the problem.  Other fonts, like
>"Courier" show the same symptoms.  Changing the size, interestingly
>enough, doesn't fix the problem at all.
>
>(again, the problem is illustrated in:
>http://aoi.atari-source.com/~nsilva/shots/20030818_rhl_bluecurve_ng_bug_screenshot.png
>)
>  
>

Noah, I believe I found a fix for the theme.

Please edit /usr/share/themes/Bluecurve/metacity-1/metacity-1.xml and 
change every occurrence of "title_height+4" to "top_height-2".  After 
saving the file, type "metacity-message reload-theme" and let me know if 
that fixes it. (It hopefully should.)

To do the global change in VIM, you'd type the following:
:%s/title_height+4/top_height-2/g

In gedit, you can go to the search menu, select the "replace" option (or 
just simply hit control+r), then use the dialog to replace the text.

Other editors (such as Emacs or jed) each have their own special way of 
doing search and replace too.

The area you need to change is specifically around line 500, in both the 
outer_bevel and outer_bevel_focus draw_ops.  Of course, any decent 
global search and replace *should* cover that. (:

Let me know if this fixes the bug for you.

Thanks,
Garrett





More information about the fedora-test-list mailing list