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 468672 - GTK_POLICY_AUTOMATIC should be the default policy for a GtkScrolledWIndow
GTK_POLICY_AUTOMATIC should be the default policy for a GtkScrolledWIndow
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
2.90.x
Other All
: Normal minor
: 3.0
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-20 21:20 UTC by Jan Niklas Hasse (Account disabled)
Modified: 2010-09-22 00:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Jan Niklas Hasse (Account disabled) 2007-08-20 21:20:31 UTC
I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created GtkScrolledWindow. Glade already does that.

Other information:
Comment 1 Tim Janik 2007-08-20 23:17:00 UTC
(In reply to comment #0)
> I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created
> GtkScrolledWindow. Glade already does that.

property defaults are part of the API in Gtk+, so they cannot be changed.
Comment 2 Jan Niklas Hasse (Account disabled) 2007-08-21 00:16:09 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created
> > GtkScrolledWindow. Glade already does that.
> 
> property defaults are part of the API in Gtk+, so they cannot be changed.
> 

Sorry for asking: Why not?
Comment 3 Emmanuele Bassi (:ebassi) 2007-08-21 02:55:23 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created
> > > GtkScrolledWindow. Glade already does that.
> > 
> > property defaults are part of the API in Gtk+, so they cannot be changed.
> > 
> 
> Sorry for asking: Why not?

because it would be an API break. every application relying on the default would need to be changed and recompiled after such a break. hence, "property defaults are part of the API".

Comment 4 Jan Niklas Hasse (Account disabled) 2009-12-22 13:59:23 UTC
Maybe this could be proposed for Gtk+ 3?
Comment 5 Christian Dywan 2010-01-05 08:09:04 UTC
I think it's worth considering for GTK+ 3.0, hence setting the version and target appropriately.
Comment 6 Matthias Clasen 2010-09-22 00:17:58 UTC
commit 0f88b6808c6fb41e49ff4600e56bc8b2ceb4f49a
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Tue Sep 21 20:14:46 2010 -0400

    GtkScrolledWindow: change default policy to 'automatic'
    
    This change was proposed in bug 468672.