[Ubuntu-sdk-bugs] [Bug 1501706] [NEW] DraggingArea.qml - MathUtils is not defined

2015-10-01 Thread Michał Karnicki
Public bug reported:

Latest rc-proposed.

file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.3/DraggingArea.qml:27:
 ReferenceError: MathUtils is not defined
when calling .open() on a Panel component.

Similar to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1248731

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1501706

Title:
  DraggingArea.qml - MathUtils is not defined

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Latest rc-proposed.

  
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.3/DraggingArea.qml:27:
 ReferenceError: MathUtils is not defined
  when calling .open() on a Panel component.

  Similar to:
  https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1248731

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-sdk-bugs] [Bug 1501702] [NEW] app-launch-tracepoints.c:29:15 warning: unused parameter ‘argc’ [-Wunused-parameter]

2015-10-01 Thread Christian Dywan
Public bug reported:

Building the latest ubuntu-ui-toolkit produces two identical warnings
with different line numbers:

app-launch-tracepoints.c:29:15 warning: unused parameter ‘argc’
[-Wunused-parameter]

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: High
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1501702

Title:
  app-launch-tracepoints.c:29:15 warning: unused parameter ‘argc’
  [-Wunused-parameter]

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Building the latest ubuntu-ui-toolkit produces two identical warnings
  with different line numbers:

  app-launch-tracepoints.c:29:15 warning: unused parameter ‘argc’
  [-Wunused-parameter]

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-sdk-bugs] [Bug 1501673] [NEW] [UCLabel] Remove REVISION requirement for textSize property

2015-10-01 Thread Andrea Bernabei
Public bug reported:

ListItemLayout has 3 UCLabels inside its main slot.

Those labels are created on C++ side, and they're exposed to QML via
Q_PROPERTY.

Because of the REVISION 1 in textSize Q_PROPERTY definition,
initializing textSize from QML side on C++ created labels fails with: 

".textSize" is not available due to component versioning.

Here's the testcase: 
import QtQuick 2.4
import Ubuntu.Components 1.3
ListItemLayout {
title.text: "Hello"
title.textSize: Label.XLarge
}

This is probably a bug in Qt's versioning handling, but since we don't actually 
need the REVISION requirement for textSize,
we should just drop it to fix the initialization issue

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1501673

Title:
  [UCLabel] Remove REVISION requirement for textSize property

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  ListItemLayout has 3 UCLabels inside its main slot.

  Those labels are created on C++ side, and they're exposed to QML via
  Q_PROPERTY.

  Because of the REVISION 1 in textSize Q_PROPERTY definition,
  initializing textSize from QML side on C++ created labels fails with: 

  ".textSize" is not available due to component versioning.

  Here's the testcase: 
  import QtQuick 2.4
  import Ubuntu.Components 1.3
  ListItemLayout {
  title.text: "Hello"
  title.textSize: Label.XLarge
  }

  This is probably a bug in Qt's versioning handling, but since we don't 
actually need the REVISION requirement for textSize,
  we should just drop it to fix the initialization issue

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-sdk-bugs] [Bug 1501668] [NEW] ListItem leadingActions have odd behaviour

2015-10-01 Thread Neil McPhail
Public bug reported:

I _think_ this is a bug in the ListItem leadingActions implementation,
but please move this if it is another component.

Krillin running default channel (Ubuntu 15.04 r25 as per most recent OTA
update).

In the browser app "bookmarks" page and the clock app "alarms" page, the
listed items can be dragged to the right to reveal a "trash" icon.
Clicking on that icon will often just remove the icon, rather than the
list item. The listed item will only be deleted if the initial right-
drag was all the way to the middle of the screen.

Example:
- Open the Clock app and create a new alarm
- drag the alarm far enough to the right for the "trash" item to be visible. 
Release and allow to settle. The item should be in the "ready to be deleted" 
state
- Click the trash icon. *The icon will disappear but the item will not*.

- drag the alarm much further to the right (at least to the middle of the 
screen), release and allow to settle. Once again, it will be in the "ready to 
be deleted" state and will be visually identical to the above
- Click the trash icon. *The icon and the item will be deleted, which is 
correct behaviour*.


As this affects more than one app, I think the bug is likely to be in the 
component rather than the app.

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1501668

Title:
  ListItem leadingActions have odd behaviour

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  I _think_ this is a bug in the ListItem leadingActions implementation,
  but please move this if it is another component.

  Krillin running default channel (Ubuntu 15.04 r25 as per most recent
  OTA update).

  In the browser app "bookmarks" page and the clock app "alarms" page,
  the listed items can be dragged to the right to reveal a "trash" icon.
  Clicking on that icon will often just remove the icon, rather than the
  list item. The listed item will only be deleted if the initial right-
  drag was all the way to the middle of the screen.

  Example:
  - Open the Clock app and create a new alarm
  - drag the alarm far enough to the right for the "trash" item to be visible. 
Release and allow to settle. The item should be in the "ready to be deleted" 
state
  - Click the trash icon. *The icon will disappear but the item will not*.

  - drag the alarm much further to the right (at least to the middle of the 
screen), release and allow to settle. Once again, it will be in the "ready to 
be deleted" state and will be visually identical to the above
  - Click the trash icon. *The icon and the item will be deleted, which is 
correct behaviour*.

  
  As this affects more than one app, I think the bug is likely to be in the 
component rather than the app.

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp