← Back to team overview

touch-packages 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 has been marked a duplicate of bug 1454281
   Ridiculous amount of warning spam with non-1.3 code

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New
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