GNOME Bugzilla – Bug 536121
GTKEntry and GTKButton don't have a default transparent background
Last modified: 2008-06-02 16:42:08 UTC
Hey, The modern day distributions use rounded elements for nearly everything which looks good! However this does show up a bug that wasn't seen when the elements where not rounded. now that GTKEntry and GTKButton (and probably a few others as well) are rounded you see that there background is by default set to grey (or a color close to it) and this rounded stuff is currently being used in at least Ubuntu and Fedora. In firefox this bug can be "fixed" by adding: background-color: transparent; to the style of the element but that won't (obviously) fix the decorations in gnome. Also quite strange is that some other elements like checkboxes and radio buttons don't seem to have this issue. There background does seem to be transparent (why is that?). Also i haven't checked to see if this bug is also in older GTK+ versions. It's in the latest one and probably also in the one before that because i remember having this bug for quite some time. I will attach a few screenshots for the reader to see where this bug appears. This bug is annoying (just makes the linux look and feel ugly) any i hope a fix could be made available ASAP. Last note.. didn't anyone filled a bug like this? millions of users are now experiencing the bug in Fedora and Ubuntu and yet i could not find any bug related to this. Thanx, Mark.
Created attachment 111917 [details] The bugs made visible And the bugs are... hardly visible but there is a little gray stuff around it that should not be there. btw.. drawing in gimp is really new to me..
Created attachment 111920 [details] Same bugs with epiphany about the same image but then from epiphany. You can see the exact same bugs in there.
Created attachment 111927 [details] Location bar in nautilus with Clearlooks with bigger roundness This is the an example of the problem in native gtk applications. In case of clearlooks it's quite subtle, due to the way of what type of gradient is draw, albeit visible. The problem is that gtk fills the background for GTKEntry with base_colour instead of leaving it transparent, and because of that gtk engine authors refills the background with colour set to background, which does not work on webpages (we don't know what background colour is below the Entry) and in gradient toolbars.
Created attachment 111928 [details] location bar in nautilus with nodoka with bigger roundness And here is how it looks with nodoka. It's more visible, "thanks" to bigger contrast between the top and bottom part of the toolbar and because the bottom part of the gradient uses background_color.
I must also say, that this problem is only with GTKEntry and widgets that contain it (I remember GTKSpinButton and GTKComboBoxEntry). The button problem is actually obsolete workaround for firefox in the used gtk engine (I was said it's ubuntu default theme, it looks to me like it's based on murrine), both clearlooks and nodoka have already removed it.
Marking as a duplicat of bug 534611. There is also the following mozilla bug about it: https://bugzilla.mozilla.org/show_bug.cgi?id=405421 The core reason for this is the drawing model. GtkEntry has a non-transparent window, which in the end results in the grey border. See also: http://www.gnome.org/~federico/misc/gtk-drawing-model/index.html *** This bug has been marked as a duplicate of 534611 ***