Open
Bug 1164674
Opened 9 years ago
Updated 2 years ago
firefox uses deprecated GtkSettings properties
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
NEW
People
(Reporter: moz, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: tpi:+)
Attachments
(1 file, 1 obsolete file)
3.49 KB,
patch
|
karlt
:
review-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0 Build ID: 20150422185754 Steps to reproduce: I started firefox to display the profile manager by running firefox -new-instance -ProfileManager in a terminal on Fedora 22. Actual results: I got this command line output: (firefox:7444): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version. (firefox:7444): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. Expected results: Nothing should have happened.
Updated•9 years ago
|
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Comment 1•9 years ago
|
||
The Fedora build uses Gtk3 by default. I see this on m-c too.
Comment 2•9 years ago
|
||
I have a patch for this.
Assignee: nobody → hub
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 3•9 years ago
|
||
I chose to set the default to FALSE. These preferences are obsolete all along Gtk3. Patch is only for Gtk3.
Attachment #8621929 -
Flags: review?(karlt)
Comment 4•9 years ago
|
||
Comment on attachment 8621929 [details] [diff] [review] Proposed patch cancelling review for now, I have an update to come (removing code made dead by this)
Attachment #8621929 -
Flags: review?(karlt)
Comment 5•9 years ago
|
||
Updated•9 years ago
|
Attachment #8621929 -
Attachment is obsolete: true
Comment 6•9 years ago
|
||
Comment on attachment 8622430 [details] [diff] [review] Remove deprecated GtkSettings properties. r= On Gtk3 image in buttons and menu item are totally deprecated.
Attachment #8622430 -
Flags: review?(karlt)
Comment 7•9 years ago
|
||
Comment on attachment 8622430 [details] [diff] [review] Remove deprecated GtkSettings properties. r= We currently still support GTK 3 versions less than 3.10, so are not ready to remove this code at this stage. These warnings should only be emitted when the G_ENABLE_DIAGNOSTIC environment variable is set. "A warning will be generated if it is used while running with G_ENABLE_DIAGNOSTIC=1" https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#G-PARAM-DEPRECATED:CAPS It would be bad form to actually remove a property from an object in a library attempting to provide binary backward compatibility due to the encouraged use of g_object_get(), which would not handle removal well.
Attachment #8622430 -
Flags: review?(karlt) → review-
Comment 8•9 years ago
|
||
I see the warning too : [ludo@Oulanl ~]$ echo $G_ENABLE_DIAGNOSTIC [ludo@Oulanl ~]$
Comment 9•9 years ago
|
||
You are gonna see it until we fix it (see attached patch) or until with switch to Gtk4. Other workaround is to downgrade.
Comment 10•9 years ago
|
||
That's a GLib bug: https://bugzilla.gnome.org/show_bug.cgi?id=732184#c22
Updated•8 years ago
|
Priority: -- → P5
Whiteboard: tpi:+
Updated•7 years ago
|
Blocks: gtk3-pre-3.20
Updated•6 years ago
|
Assignee: hub → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•