← Back to team overview

touch-packages team mailing list archive

[Bug 1457528] Re: Theme.createStyleComponent deprecation useless warnings are displayed

 

Actually, my problem is slightly different: I *am* using the Theme
component in my application, but it's an application using
Ubuntu.Components 1.0 and the 14.10 framework.

In that version, Theme *is not deprecated*, therefore I shouldn't see
any warnings.

That should be the case up to 1.2, where Theme is still documented as
not being deprecated.

Please tell me if you are going to reopen this bug, or if you prefer a
different one to be filed.

-- 
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/1457528

Title:
  Theme.createStyleComponent deprecation useless warnings are displayed

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed

Bug description:
  Take that example

  "import QtQuick 2.0
  import Ubuntu.Components 0.1

  Item {
      Button {
          text: "click"
      }
  }"

  run it on wily, you get those warnings

  "QML Button: Theme.createStyleComponent() is deprecated. Use
  ThemeSettings instead."

  the warning is not helpful, it warns about a standard component issue
  (so something in the responsability of the uitk team, not the code
  writer), lists the issue on something you are not using (what is
  "Theme.createStyleComponent()" that's not used in the code example?),
  it's just confusing...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1457528/+subscriptions


References