touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #78903
[Bug 1456350] [NEW] Apps importing UITK 1.2 or older print a lot of UCDeprecatedTheme deprecation notes
Public bug reported:
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.
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Critical
Status: New
** Description changed:
We should not be printing these warnings in UITK <= 1.2 because there
- using Theme is a valid way of doing stuff.
+ using 'Theme' instead of 'theme' is a valid way of doing stuff.
- Also it slows down running the app a lot because it prints hundreds of
- these warnings some times.
-
+ 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, the test fails.
+ but when I leave out the 'SUPPRESS_DEPRECATED_NOTE=yes', the test fails.
--
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 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/ubuntu-ui-toolkit/+bug/1456350/+subscriptions
Follow ups
References