← Back to team overview

touch-packages team mailing list archive

[Bug 1483554] Re: A lot of warnings when adding Content Hub simple example

 

** Description changed:

  I just added with Ubuntu Content 1.1 a simple example, here is the
  commit:
  https://github.com/didrocks/splitthebill/commit/bc914de9511ebbd3b13b03166bdc7c463af1c609
  
  Switching that one, I'm starting to get a lot of warnings in my
  application related to contenthub. This is all at instantation, so
  before starting any transfer. The default experience shouldn't give any
  warning:
  
  1. qml: WARNING: Header is an internal component of Ubuntu.Components
  andits API may change or be removed at any moment.Please use MainView
  and Page instead.
  
  2. the activeTransfer is null by default, so the Connections will fail
  in: file:///<…>: Unable to assign [undefined] to QObject*
  
  Maybe we should set a default value to activeTransfer? Or any other
  idea?
  
  3. file:///usr/lib/x86_64-linux-
  gnu/qt5/qml/Ubuntu/Content/ContentPeerPicker11.qml:204: TypeError:
  Cannot read property 'peers' of null
  
  I guess that's because something isn't instantiated.
+ 
+ 4. Once the peer in peerpicker is chosen, then transferHint triggers some warnigns:
+ file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Content/ContentTransferHint.qml:61:13: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
+ file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Content/ContentTransferHint.qml:54:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
+ 
+ (this is using Components 1.2)
+ 
+ 5. hfile:///usr/lib/x86_64-linux-
+ gnu/qt5/qml/Ubuntu/Components/Popups/1.2/Dialog.qml:179:13: QML Column:
+ Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for
+ items inside Column. Column will not function.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1483554

Title:
  A lot of warnings when adding Content Hub simple example

Status in content-hub:
  New
Status in content-hub package in Ubuntu:
  New

Bug description:
  I just added with Ubuntu Content 1.1 a simple example, here is the
  commit:
  https://github.com/didrocks/splitthebill/commit/bc914de9511ebbd3b13b03166bdc7c463af1c609

  Switching that one, I'm starting to get a lot of warnings in my
  application related to contenthub. This is all at instantation, so
  before starting any transfer. The default experience shouldn't give
  any warning:

  1. qml: WARNING: Header is an internal component of Ubuntu.Components
  andits API may change or be removed at any moment.Please use MainView
  and Page instead.

  2. the activeTransfer is null by default, so the Connections will fail
  in: file:///<…>: Unable to assign [undefined] to QObject*

  Maybe we should set a default value to activeTransfer? Or any other
  idea?

  3. file:///usr/lib/x86_64-linux-
  gnu/qt5/qml/Ubuntu/Content/ContentPeerPicker11.qml:204: TypeError:
  Cannot read property 'peers' of null

  I guess that's because something isn't instantiated.

  4. Once the peer in peerpicker is chosen, then transferHint triggers some warnigns:
  file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Content/ContentTransferHint.qml:61:13: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
  file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Content/ContentTransferHint.qml:54:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.

  (this is using Components 1.2)

  5. hfile:///usr/lib/x86_64-linux-
  gnu/qt5/qml/Ubuntu/Components/Popups/1.2/Dialog.qml:179:13: QML
  Column: Cannot specify top, bottom, verticalCenter, fill or centerIn
  anchors for items inside Column. Column will not function.

To manage notifications about this bug go to:
https://bugs.launchpad.net/content-hub/+bug/1483554/+subscriptions


References