Apps importing UITK 1.2 or older print a lot of UCDeprecatedTheme deprecation notes
Bug #1456350 reported by
Tim Peeters
This bug report is a duplicate of:
Bug #1454281: Ridiculous amount of warning spam with non-1.3 code.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phablet-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
New
|
Critical
|
Unassigned |
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_
but when I leave out the 'SUPPRESS_
Related branches
description: | updated |
To post a comment you must log in.
phablet@ ubuntu- phablet: ~$ SUPPRESS_ DEPRECATED_ NOTE=yes autopilot3 run ubuntu_ system_ settings. tests.test_ about.StorageTe stCase
Loading tests from: /usr/lib/ python3/ dist-packages
Tests running...
Ran 9 tests in 265.605s ubuntu- phablet: ~$
OK
phablet@
HURRAY \o/