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 642514 - GtkViewPort draws a frame even with shadow_type = GTK_SHADOW_NONE
GtkViewPort draws a frame even with shadow_type = GTK_SHADOW_NONE
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-16 22:06 UTC by Sébastien Granjoux
Modified: 2014-12-06 05:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Granjoux 2011-02-16 22:06:07 UTC
Now, GtkViewPort, always draw a shadow around the widget even if the property is set to GTK_SHADOW_NONE.

It happens using the recent release GTK 3.0.0. It was working not a long time ago but I don't remember exactly which version I was using previously.

I suspect it comes from the commit 6f3706ac28abb6e45f4aef9534daa3a6b435c2d0. I don't know exactly how it's working but gtk_scrolled_window_draw is calling gtk_render_frame only if shadow_type is not equal to GTK_SHADOW_NONE.
Comment 1 Matthias Clasen 2014-12-06 05:01:23 UTC
this is no longer the case