Deprecation warning should be turned off for release
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | glib2.0 (Ubuntu) |
High
|
Lars Karlitski | ||
Bug Description
A lot of applications that are currently shipping in vivid display gtk deprecation warnings. While this is useful to developers, it is a nuisance for users who are powerless to fix these issues.
For certain graphical applications, printing warnings on the console isn't much of an issue, but for others, such as gedit, it's annoying and inelegant.
Here are a few examples:
$ ubuntu-bug sdasdasd
dpkg-query: no packages found matching sdasdasd
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
$ gedit
sys:1: Warning: The property GtkSettings:
sys:1: Warning: The property GtkToolButton:
sys:1: Warning: The property GtkWidget:
sys:1: Warning: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
sys:1: Warning: The property GtkSettings:
sys:1: Warning: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
sys:1: Warning: The property GtkAlignment:
sys:1: Warning: The property GtkTreeView:
$ brasero
(brasero:5606): GLib-GObject-
(brasero:5606): GLib-GObject-
(brasero:5606): GLib-GObject-
(brasero:5606): GLib-GObject-
(brasero:5606): GLib-GObject-
$ gnote
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
(gnote:5712): GLib-GObject-
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: libgtk-3-0 3.14.8-0ubuntu2
ProcVersionSign
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 10 08:34:20 2015
InstallationDate: Installed on 2013-11-26 (468 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: gtk+3.0
UpgradeStatus: Upgraded to vivid on 2015-03-07 (2 days ago)
Related branches
| Marc Deslauriers (mdeslaur) wrote : | #1 |
| Lars Karlitski (larsu) wrote : | #2 |
| affects: | gtk+3.0 (Ubuntu) → ubuntu |
| Changed in ubuntu: | |
| importance: | Undecided → High |
| status: | New → In Progress |
| affects: | ubuntu → glib2.0 (Ubuntu) |
| Iain Lane (laney) wrote : | #3 |
| Iain Lane (laney) wrote : | #4 |
Would appreciate at least trying to do the same for 2.44.1. The fact that some GNOME apps (brasero) aren't fixed should strengthen an argument in favour.
| Iain Lane (laney) wrote : | #5 |
(there would be no problem SRUing a fix)
The attachment "0001-Don-
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
| Changed in glib2.0 (Ubuntu): | |
| status: | In Progress → Fix Committed |
| assignee: | nobody → Lars Uebernickel (larsu) |
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package glib2.0 - 2.44.0-1ubuntu2
---------------
glib2.0 (2.44.0-1ubuntu2) vivid; urgency=medium
* Use upstream's patch instead.
-- Iain Lane <email address hidden> Thu, 16 Apr 2015 19:22:56 +0100
| Changed in glib2.0 (Ubuntu): | |
| status: | Fix Committed → Fix Released |


Yeah, let's disable them for the release. Developers can still opt in to showing them while developing an application by setting G_ENABLE_DIAGNOSTIC to 1.