← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1456350] Re: Apps importing UITK 1.2 or older print a lot of UCDeprecatedTheme deprecation notes

 

*** This bug is a duplicate of bug 1454281 ***
    https://bugs.launchpad.net/bugs/1454281

This bug was fixed in the package phablet-tools -
1.1+15.10.20150519-0ubuntu1

---------------
phablet-tools (1.1+15.10.20150519-0ubuntu1) wily; urgency=medium

  [ Zoltán Balogh ]
  * Suppress warnings about deprecated UITK APIS during AP tests. Fixes
    LP: #1456350 (LP: #1456350)

 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>  Tue, 19 May 2015 07:35:19
+0000

** Changed in: phablet-tools (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1456350

Title:
  Apps importing UITK 1.2 or older print a lot of UCDeprecatedTheme
  deprecation notes

Status in phablet-tools package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  We should not be printing these warnings in UITK <= 1.2 because there
  using 'Theme' instead of 'theme' is a valid way of doing stuff.

  Also it slows down the app because it prints hundreds of these
  warnings some times.

  For example, running this on device results in OK:
  SUPPRESS_DEPRECATED_NOTE=yes autopilot3 run ubuntu_system_settings.tests.test_about.StorageTestCase.test_disk

  but when I leave out the 'SUPPRESS_DEPRECATED_NOTE=yes', the test
  fails.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1456350/+subscriptions


References