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 536121 - GTKEntry and GTKButton don't have a default transparent background
GTKEntry and GTKButton don't have a default transparent background
Status: RESOLVED DUPLICATE of bug 534611
Product: gtk+
Classification: Platform
Component: Widget: Other
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-06-01 21:13 UTC by Mark
Modified: 2008-06-02 16:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
The bugs made visible (28.84 KB, image/png)
2008-06-01 21:37 UTC, Mark
Details
Same bugs with epiphany (20.40 KB, image/png)
2008-06-01 23:26 UTC, Mark
Details
Location bar in nautilus with Clearlooks with bigger roundness (5.04 KB, image/png)
2008-06-02 08:03 UTC, Martin Sourada
Details
location bar in nautilus with nodoka with bigger roundness (5.66 KB, image/png)
2008-06-02 08:06 UTC, Martin Sourada
Details

Description Mark 2008-06-01 21:13:54 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.
Comment 1 Mark 2008-06-01 21:37:45 UTC
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..
Comment 2 Mark 2008-06-01 23:26:23 UTC
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.
Comment 3 Martin Sourada 2008-06-02 08:03:49 UTC
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.
Comment 4 Martin Sourada 2008-06-02 08:06:15 UTC
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.
Comment 5 Martin Sourada 2008-06-02 08:10:06 UTC
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.
Comment 6 Benjamin Berg 2008-06-02 16:42:08 UTC
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 ***