← Back to team overview

desktop-packages team mailing list archive

[Bug 1430307] Re: Deprecation warning should be turned off for release

 

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.

** Patch added: "0001-Don-t-warn-about-deprecated-properties-by-default.patch"
   https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1430307/+attachment/4377438/+files/0001-Don-t-warn-about-deprecated-properties-by-default.patch

** Package changed: gtk+3.0 (Ubuntu) => ubuntu

** Changed in: ubuntu
   Importance: Undecided => High

** Changed in: ubuntu
       Status: New => In Progress

** Package changed: ubuntu => glib2.0 (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1430307

Title:
  Deprecation warning should be turned off for release

Status in glib2.0 package in Ubuntu:
  In Progress

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:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
  sys:1: Warning: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.
  sys:1: Warning: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version.
  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:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
  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:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.
  sys:1: Warning: The property GtkTreeView:rules-hint is deprecated and shouldn't be used anymore. It will be removed in a future version.

  $ brasero

  (brasero:5606): 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.
  (brasero:5606): 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.
  (brasero:5606): GLib-GObject-WARNING **: The property GtkAlignment:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (brasero:5606): GLib-GObject-WARNING **: The property GtkAlignment:yalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (brasero:5606): GLib-GObject-WARNING **: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

  
  $ gnote

  (gnote:5712): GLib-GObject-WARNING **: The property GSettings:schema is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): GLib-GObject-WARNING **: The property GtkTextTag:foreground-gdk is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): 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.
  (gnote:5712): GLib-GObject-WARNING **: The property GtkAlignment:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): GLib-GObject-WARNING **: The property GtkAlignment:yalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): GLib-GObject-WARNING **: The property GtkAlignment:xscale is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): GLib-GObject-WARNING **: The property GtkAlignment:yscale is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
  (gnote:5712): 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.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: libgtk-3-0 3.14.8-0ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1430307/+subscriptions


References