Re: [Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2017-03-23 Thread XiaoGuo, Liu
In my case, I just use this service inside the app. No other apps use it
but making the apparmor error gone away. My snapcraft.yaml is at:

https://github.com/liu-xiao-guo/xmradio/blob/master/snap/snapcraft.yaml

Thanks for your explanation.

On Thu, Mar 23, 2017 at 11:16 PM, Jamie Strandboge <ja...@ubuntu.com>
wrote:

> Yes! :) I think it is helpful to think about what the application is
> doing. It is binding to a well-known name so that other processes can
> access it through the well-known name. In other words, it can be thought
> of as a service. In snappy terms, it is a slot implementation of a
> service for the DBus apis the service provides under the well-known DBus
> name.
>
> Due note that if the snap is being distributed via the Ubuntu public
> store, then the initial upload will require a human to grant use of this
> well-known name, but once that is done, subsequent uploads aren't
> blocked.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1590679
>
> Title:
>   Apps can't own session bus names (unity7 interface)
>
> Status in Snappy:
>   Fix Released
> Status in snapd package in Ubuntu:
>   Fix Released
>
> Bug description:
>   Many applications require to own a name on the session D-Bus. This is
>   often used for app uniqueness and D-Bus launching (e.g. many GNOME
>   apps).
>
>   For example (lp:~ubuntu-desktop/+junk/gnome-mahjongg-snap) attempting
>   to run gives:
>
>   $ /snap/bin/gnome-mahjongg
>   Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
> Connection ":1.141" is not allowed to own the service
> "org.gnome.gnome-mahjongg" due to AppArmor policy
>
>   I would expect the unity7 interface to allow bus name ownership so
>   these apps can work.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions
>


-- 
XiaoGuo, Liu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590679

Title:
  Apps can't own session bus names (unity7 interface)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2017-03-22 Thread XiaoGuo, Liu
@Jamie, there is one question here. For a snap application, can I use
"slots" directly in the case? I view "slots" a service provider or
producer. I do not have the case using a plug in the app.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590679

Title:
  Apps can't own session bus names (unity7 interface)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2017-03-20 Thread XiaoGuo, Liu
Thanks! I will have a try. This is something new to me:)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590679

Title:
  Apps can't own session bus names (unity7 interface)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2017-03-15 Thread XiaoGuo, Liu
My version of snap is:

$ snap --version
snap2.23.1
snapd   2.23.1
series  16
ubuntu  16.04
kernel  4.4.0-67-generic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590679

Title:
  Apps can't own session bus names (unity7 interface)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2017-03-15 Thread XiaoGuo, Liu
Gtk-Message: Failed to load module "canberra-gtk-module"
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 
Connection ":1.141" is not allowed to own the service "com.timxx.XMRadio" due 
to AppArmor policy

Now, I see the same issue in my application. I cannot see any messaging
by using the snappy-debug. Is this fixed already?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590679

Title:
  Apps can't own session bus names (unity7 interface)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1672330] [NEW] Installing snap applications on 16.04 does not show up the application icon in the dash sometimes

2017-03-13 Thread XiaoGuo, Liu
Public bug reported:

We have a snap desktop application at:

https://github.com/ubuntu/snap-tutorials-code/tree/master/webapp-
ubuntu/final/snap

It has a desktop launcher. Once it is installed on the 16.04 desktop,
the application icon may not show up in the dash sometimes. A reboot is
needed to make it appear.

** Affects: unity (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672330

Title:
  Installing snap applications on 16.04 does not show up the application
  icon in the dash sometimes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1672330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1664471] Re: Creating user failed when doing console-conf for raspberry pi3 device

2017-02-14 Thread XiaoGuo, Liu
This is the syslog file.

** Attachment added: "syslog"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471/+attachment/4818711/+files/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664471

Title:
  Creating user failed when doing console-conf for raspberry pi3 device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1664471] Re: Creating user failed when doing console-conf for raspberry pi3 device

2017-02-14 Thread XiaoGuo, Liu
** Description changed:

  I am now using the following raspberry pi3 software at:
  
  http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/
  
  ubuntu-core-16-pi3.img.xz   2017-01-26 20:29316M
  
  During the console-conf, in the last step, after I input my email
  address, it waits for a long time, but it finally times out. The error
  message is as follows:
  
  ==
  error: while creating user: cannot create user "xiaoguo@canonical.com": 
Get https://login.ubuntu.com/api/keys/xiaoguo.liu%40canonical.com: net/http: 
request canceled while waiting for connection (Client.Timeout exceeded while 
awaiting headers)
  ==
  
  I have tried different images (Nov, 3rd), and flashed many times. The
  result is the same. I cannot get my device configured.
  
  Attached please find some captured pictures I got. By the way, I have
  ubuntu one account, and I used to enable devices a number of times.
  
+ https://lists.ubuntu.com/archives/snapcraft/2017-February/003234.html
+ 
  Thanks & best regards,
  XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664471

Title:
  Creating user failed when doing console-conf for raspberry pi3 device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1664471] [NEW] Creating user failed when doing console-conf for raspberry pi3 device

2017-02-13 Thread XiaoGuo, Liu
Public bug reported:

I am now using the following raspberry pi3 software at:

http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/

ubuntu-core-16-pi3.img.xz   2017-01-26 20:29316M

During the console-conf, in the last step, after I input my email
address, it waits for a long time, but it finally times out. The error
message is as follows:

==
error: while creating user: cannot create user "xiaoguo@canonical.com": Get 
https://login.ubuntu.com/api/keys/xiaoguo.liu%40canonical.com: net/http: 
request canceled while waiting for connection (Client.Timeout exceeded while 
awaiting headers)
==

I have tried different images (Nov, 3rd), and flashed many times. The
result is the same. I cannot get my device configured.

Attached please find some captured pictures I got. By the way, I have
ubuntu one account, and I used to enable devices a number of times.

Thanks & best regards,
XiaoGuo

** Affects: subiquity (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "IMG_20170214_115701.jpg"
   
https://bugs.launchpad.net/bugs/1664471/+attachment/4818638/+files/IMG_20170214_115701.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664471

Title:
  Creating user failed when doing console-conf for raspberry pi3 device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1664471] Re: Creating user failed when doing console-conf for raspberry pi3 device

2017-02-13 Thread XiaoGuo, Liu
This is another captured picture.

** Attachment added: "IMG_20170214_115653.jpg"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471/+attachment/4818639/+files/IMG_20170214_115653.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664471

Title:
  Creating user failed when doing console-conf for raspberry pi3 device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1561861] Re: ListItemLayout documentation: UbuntuColors.Orange should be UbuntuColors.orange instead

2016-10-07 Thread XiaoGuo, Liu
It was great to see that it was fixed :) Thanks for your work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561861

Title:
  ListItemLayout documentation: UbuntuColors.Orange should be
  UbuntuColors.orange instead

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1517491] Re: installation fails due to broken dependencies

2016-09-21 Thread XiaoGuo, Liu
I have this issue in the Ubuntu Core "classic" app on the snapdragon
410c board.

(classic)liu-xiao-guo@localhost:~$ sudo apt install npm
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


** Changed in: npm (Ubuntu)
   Status: Expired => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1517491

Title:
  installation fails due to broken dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1517491/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622908] [NEW] Camera is not fully working on snapdragon 410c board

2016-09-13 Thread XiaoGuo, Liu
Public bug reported:

I have a USB camera, which connects to a snapdragon 410c board. The USB
camera works well with the current raspberry pi2 and pi3 images.
However, it does not work well with the 410c image. After I plug in the
device, it shows me the following message when using dmesg:

http://paste.ubuntu.com/23172681/

qpacket" protocol=0 requested_mask="connect" denied_mask="connect"
[20028.871123] usb 1-1.1: USB disconnect, device number 5
[20028.926401] evbug: Disconnected device: input3
[20034.957329] usb 1-1.1: new high-speed USB device number 6 using 
msm_hsusb_host
[20035.073002] usb 1-1.1: New USB device found, idVendor=0ac8, idProduct=3420
[20035.073050] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[20035.073088] usb 1-1.1: Product: Gsou USB2.0 Camera
[20035.073125] usb 1-1.1: Manufacturer: Vimicro Corp.
[20035.077012] uvcvideo: Found UVC 1.00 device Gsou USB2.0 Camera (0ac8:3420)
[20035.082774] input: Gsou USB2.0 Camera as 
/devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/input/input4
[20035.083406] evbug: Connected device: input4 (Gsou USB2.0 Camera at 
usb-78d9000.ehci-1.1/button)

** Affects: linux-snapdragon (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622908

Title:
  Camera is not fully working on snapdragon 410c board

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-snapdragon/+bug/1622908/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622909] [NEW] Camera is not fully working on snapdragon 410c board

2016-09-13 Thread XiaoGuo, Liu
Public bug reported:

I have a USB camera, which connects to a snapdragon 410c board. The USB
camera works well with the current raspberry pi2 and pi3 images.
However, it does not work well with the 410c image. After I plug in the
device, it shows me the following message when using dmesg:

http://paste.ubuntu.com/23172681/

qpacket" protocol=0 requested_mask="connect" denied_mask="connect"
[20028.871123] usb 1-1.1: USB disconnect, device number 5
[20028.926401] evbug: Disconnected device: input3
[20034.957329] usb 1-1.1: new high-speed USB device number 6 using 
msm_hsusb_host
[20035.073002] usb 1-1.1: New USB device found, idVendor=0ac8, idProduct=3420
[20035.073050] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[20035.073088] usb 1-1.1: Product: Gsou USB2.0 Camera
[20035.073125] usb 1-1.1: Manufacturer: Vimicro Corp.
[20035.077012] uvcvideo: Found UVC 1.00 device Gsou USB2.0 Camera (0ac8:3420)
[20035.082774] input: Gsou USB2.0 Camera as 
/devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/input/input4
[20035.083406] evbug: Connected device: input4 (Gsou USB2.0 Camera at 
usb-78d9000.ehci-1.1/button)

** Affects: linux-snapdragon (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622909

Title:
  Camera is not fully working on snapdragon 410c board

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-snapdragon/+bug/1622909/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1561861] Re: UbuntuColors.Orange should be Ubuntu.orange instead

2016-07-03 Thread XiaoGuo, Liu
** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Expired => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561861

Title:
  UbuntuColors.Orange should be Ubuntu.orange instead

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1592652] [NEW] Ubuntu.Components.ListItems version is wrong

2016-06-15 Thread XiaoGuo, Liu
Public bug reported:

on the link
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.ListItems.Divider/,
the version for the ListItems is:

import Ubuntu.Components.ListItems 1.0

When using together with Ubuntu.Components 1.3, it complains:

file:///usr/lib/arm-linux-
gnueabihf/qt5/qml/Ubuntu/Components/1.3/PageHeader.qml:292:5: QML
Sections: Mixing of Ubuntu.Components module versions 1.3 and 1.2
detected!

The correct version should 1.3. For the rest of the API, the version
numbers should be corrected as well.

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592652

Title:
  Ubuntu.Components.ListItems version is wrong

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1588557] [NEW] Nexus 4 cannot restore to phone mode after disconnecting HDMI connection

2016-06-02 Thread XiaoGuo, Liu
Public bug reported:

After flashing the convergence software for Nexus 4:

https://system-image.ubuntu.com/ubuntu-touch/rc-proposed/ubuntu-pd/mako/

I connect Bluetooth mouse and keyboard, and everything works fine.

- connect to a DELL monitor, it enters to the desktop mode
- disconnect it to the DELL monitor, it stays in the desktop mode (mouse and 
keyboard are still connected to the phone).

My understanding is that phone should restore to the phone mode. The
software I flashed was from the following channel:

https://system-image.ubuntu.com/ubuntu-touch/rc-proposed/ubuntu-pd/mako/

Thanks & best regards,
XiaoGuo

** Affects: unity8 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1588557

Title:
  Nexus 4 cannot restore to phone mode after disconnecting HDMI
  connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1588557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1586230] [NEW] metaData in the Audio API returns "undefined"

2016-05-26 Thread XiaoGuo, Liu
Public bug reported:

I just tried the metaData property in the Audio API at:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/QtMultimedia.Audio/#metaData
.albumTitle-prop

All of the properties for the metaData returns "undefined":

qml: The properties of metaData is:
qml: objectName: objectName : 
qml: title: title : undefined
qml: subTitle: subTitle : undefined
qml: author: author : undefined
qml: comment: comment : undefined
qml: description: description : undefined
qml: category: category : undefined
qml: genre: genre : undefined
qml: year: year : undefined
qml: date: date : undefined
qml: userRating: userRating : undefined
qml: keywords: keywords : undefined
qml: language: language : undefined
qml: publisher: publisher : undefined
qml: copyright: copyright : undefined
qml: parentalRating: parentalRating : undefined
qml: ratingOrganization: ratingOrganization : undefined
qml: size: size : undefined
qml: mediaType: mediaType : undefined
qml: duration: duration : undefined
qml: audioBitRate: audioBitRate : undefined
qml: audioCodec: audioCodec : undefined
qml: averageLevel: averageLevel : undefined
qml: channelCount: channelCount : undefined
qml: peakValue: peakValue : undefined
qml: sampleRate: sampleRate : undefined
qml: albumTitle: albumTitle : undefined
qml: albumArtist: albumArtist : undefined
qml: contributingArtist: contributingArtist : undefined
qml: composer: composer : undefined
qml: conductor: conductor : undefined
qml: lyrics: lyrics : undefined
qml: mood: mood : undefined
qml: trackNumber: trackNumber : undefined
qml: trackCount: trackCount : undefined
qml: coverArtUrlSmall: coverArtUrlSmall : undefined
qml: coverArtUrlLarge: coverArtUrlLarge : undefined
qml: resolution: resolution : undefined
qml: pixelAspectRatio: pixelAspectRatio : undefined
qml: videoFrameRate: videoFrameRate : undefined
qml: videoBitRate: videoBitRate : undefined
qml: videoCodec: videoCodec : undefined
qml: posterUrl: posterUrl : undefined
qml: chapterNumber: chapterNumber : undefined
qml: director: director : undefined
qml: leadPerformer: leadPerformer : undefined
qml: writer: writer : undefined
qml: cameraManufacturer: cameraManufacturer : undefined
qml: cameraModel: cameraModel : undefined
qml: event: event : undefined
qml: subject: subject : undefined
qml: orientation: orientation : undefined
qml: exposureTime: exposureTime : undefined
qml: fNumber: fNumber : undefined
qml: exposureProgram: exposureProgram : undefined
qml: isoSpeedRatings: isoSpeedRatings : undefined
qml: exposureBiasValue: exposureBiasValue : undefined
qml: dateTimeOriginal: dateTimeOriginal : undefined
qml: dateTimeDigitized: dateTimeDigitized : undefined
qml: subjectDistance: subjectDistance : undefined
qml: meteringMode: meteringMode : undefined
qml: lightSource: lightSource : undefined
qml: flash: flash : undefined
qml: focalLength: focalLength : undefined
qml: exposureMode: exposureMode : undefined
qml: whiteBalance: whiteBalance : undefined
qml: digitalZoomRatio: digitalZoomRatio : undefined
qml: focalLengthIn35mmFilm: focalLengthIn35mmFilm : undefined
qml: sceneCaptureType: sceneCaptureType : undefined
qml: gainControl: gainControl : undefined
qml: contrast: contrast : undefined
qml: saturation: saturation : undefined
qml: sharpness: sharpness : undefined
qml: deviceSettingDescription: deviceSettingDescription : undefined
qml: gpsLatitude: gpsLatitude : undefined
qml: gpsLongitude: gpsLongitude : undefined
qml: gpsAltitude: gpsAltitude : undefined
qml: gpsTimeStamp: gpsTimeStamp : undefined
qml: gpsSatellites: gpsSatellites : undefined
qml: gpsStatus: gpsStatus : undefined
qml: gpsDOP: gpsDOP : undefined
qml: gpsSpeed: gpsSpeed : undefined
qml: gpsTrack: gpsTrack : undefined
qml: gpsTrackRef: gpsTrackRef : undefined
qml: gpsImgDirection: gpsImgDirection : undefined
qml: gpsImgDirectionRef: gpsImgDirectionRef : undefined
qml: gpsMapDatum: gpsMapDatum : undefined
qml: gpsProcessingMethod: gpsProcessingMethod : undefined
qml: gpsAreaInformation: gpsAreaInformation : undefined
qml: objectNameChanged: objectNameChanged : function() { [code] }
qml: metaDataChanged: metaDataChanged : function() { [code] }

** Affects: qtmultimedia-opensource-src-touch (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586230

Title:
  metaData in the Audio API returns "undefined"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src-touch/+bug/1586230/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1586042] [NEW] playlist API does not work properly

2016-05-26 Thread XiaoGuo, Liu
Public bug reported:

Today, I just implemented a sample code for testing playlist API. My
sample code is at: https://github.com/liu-xiao-guo/playlist

I am trying to do a same example as the one at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/QtMultimedia.Playlist/.
I got it running on my turbo device. my source code is at
https://github.com/liu-xiao-guo/playlist/blob/master/playlist/Main.qml.
it is pretty a simple example, but the result shows like
http://imgur.com/vKgQc4Z. I have only one entry in the list, but it is
shown twice. what could be the problem for it?

If I try to run it on the desktop side, I get the result like
http://imgur.com/gIptFwQ. It shows correctly. The problem seems to be
related to our phone software.

Thanks & best regards,
XiaoGuo

** Affects: qtmultimedia-opensource-src-touch (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586042

Title:
  playlist API does not work properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src-touch/+bug/1586042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1578072] [NEW] missing package version number

2016-05-04 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.Styles.ActionBarStyle/

on the above link, it says:

Import Statement:   import Ubuntu.Components.Styles .

it does not specify any of the package version number. I think this bug
applies to the rest of the documents as well. Without the knowledge of
the version, a developer has to guess what could be the right version
number for it.

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578072

Title:
  missing package version number

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1576463] Re: Cannot assign to non-existent property "tools"

2016-05-02 Thread XiaoGuo, Liu
Then it is a bug against the documentation of the API. We need to
correct the example code on the page. It is confusing to the developers.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576463

Title:
  Cannot assign to non-existent property "tools"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1561861] Re: UbuntuColors.Orange should be Ubuntu.orange instead

2016-05-02 Thread XiaoGuo, Liu
Hi,

I have a test code at https://github.com/liu-xiao-guo/testubuntucolor.
If I run the app, I end up with the error like:

qrc:///Main.qml:32:26: Unable to assign [undefined] to QColor

line 32 is exactly:

title.color: UbuntuColors.Orange

Have you tried to run the code?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561861

Title:
  UbuntuColors.Orange should be Ubuntu.orange instead

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1576607] [NEW] Need public documentation for customizing Button with StyleHints

2016-04-29 Thread XiaoGuo, Liu
Public bug reported:

Currently, all of the available Ubuntu.Components.Styles elements are
listed at:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.Styles/

This is not a complete list.  There is a more complete list at the
source tree:

http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
toolkit/trunk/files/head:/src/Ubuntu/Components/Themes/Ambiance/1.3

For example, ButtonStyle is not documented though it is implemented.

Thanks & best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576607

Title:
  Need public documentation for customizing Button with StyleHints

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1576515] Re: Button style API is not defined, example codes from tutorial are broken

2016-04-29 Thread XiaoGuo, Liu
** Description changed:

  I just copied the code snippet at
  
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.StyledItem/,
  I get the error like http://paste.ubuntu.com/16123241/
  
  QML debugging is enabled. Only use this in a safe environment.
  qml: Page_QMLTYPE_17(0xa86bd0)"test page": In Ubuntu.Components 1.3, the use 
of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and 
the PageHeader component instead.
  file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:108:25: 
Unable to assign [undefined] to QFont
  file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:103:33: 
Unable to assign [undefined] to QQuickGradient*
  file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:92:27: Unable 
to assign [undefined] to QColor
  
  The example code is at https://github.com/liu-xiao-guo/style
  
+ The code snippet at the link
+ 
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/UbuntuUserInterfaceToolkit
+ .ubuntu-theming-styles/ also has the same problem.
+ 
+ Button {
+ id: button
+ style: Rectangle {
+ implicitWidth: units.gu(12)
+ implicitHeight: units.gu(5)
+ color: styledItem.color
+ border {
+ width: units.dp(1)
+ color: styledItem.strokeColor
+ }
+ Label {
+ text: styledItem.text
+ font: styledItem.font
+ }
+ }
+ }
+ 
  Thanks & best regards,
  XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576515

Title:
  Button style API is not defined, example codes from tutorial are
  broken

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1576515] [NEW] Button style API is not defined, example codes from tutorial are broken

2016-04-28 Thread XiaoGuo, Liu
Public bug reported:

I just copied the code snippet at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.StyledItem/,
I get the error like http://paste.ubuntu.com/16123241/

QML debugging is enabled. Only use this in a safe environment.
qml: Page_QMLTYPE_17(0xa86bd0)"test page": In Ubuntu.Components 1.3, the use of 
Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the 
PageHeader component instead.
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:108:25: Unable 
to assign [undefined] to QFont
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:103:33: Unable 
to assign [undefined] to QQuickGradient*
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/Button.qml:92:27: Unable 
to assign [undefined] to QColor

The example code is at https://github.com/liu-xiao-guo/style

Thanks & best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576515

Title:
  Button style API is not defined, example codes from tutorial are
  broken

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1576463] [NEW] Cannot assign to non-existent property "tools"

2016-04-28 Thread XiaoGuo, Liu
Public bug reported:

On the page:
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.ToolbarButton/,
in the code snippet:

import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
width: units.gu(50)
height: units.gu(80)
Action {
id: action1
text: "action 1"
iconName: "compose"
onTriggered: print("one!")
}
Page {
title: "test page"
Label {
anchors.centerIn: parent
text: "Hello, world"
}
tools: ToolbarItems {
// reference to an action:
ToolbarButton {
action: action1
}
// define the action:
ToolbarButton {
action: Action {
text: "Second action"
iconName: "add"
onTriggered: print("two!")
}
// override the text of the action:
text: "action 2"
}
// no associated action:
ToolbarButton {
iconName: "cancel"
text: "button"
onTriggered: print("three!")
}
}
}
}

when running, it complains  Cannot assign to non-existent property
"tools"

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576463

Title:
  Cannot assign to non-existent property "tools"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1570156] [NEW] package version is not specified

2016-04-13 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Ubuntu.Components.Themes.PaletteValues/

on the page, the version of the package is not specified, and this seems
a common issue for a lot of other APIs. We need to review all of the API
documents on the developer website. With the version number, a developer
has to guess.

 import Ubuntu.Components.Themes .

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570156

Title:
  package version is not specified

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566713] Re: MainView's anchorToKeyboard does not work as expected

2016-04-13 Thread XiaoGuo, Liu
Is there any update on the bug report? I just want to know whether this
is a bug or we need to take care of setting the flag to true.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566713

Title:
  MainView's anchorToKeyboard does not work as expected

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566713] [NEW] OSK does not work as expected

2016-04-06 Thread XiaoGuo, Liu
Public bug reported:

 I am now trying to following the OSK at the link
https://developer.ubuntu.com/en/apps/qml/tutorials/ubuntu-screen-
keyboard-tricks/. I find that when i set anchorToKeyboard to true, the
UI looks different from the one shown on the link.

When anchorToKeyboard: true, I cannot even see the input field for
"username" and "password"? is this a bug? the UI is like
http://imgur.com/wXaSzqG my test code is at https://github.com/liu-xiao-
guo/osk

faenil helped to verify that if we set:

  Page {
title: i18n.tr("onscreenkeyboard")
anchors.fill: parent   // this line makes the OSK work properly as 
expected on the link


  }

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566713

Title:
  OSK does not work as expected

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562667] [NEW] ListItemDrag.direction is not defined in the API document

2016-03-27 Thread XiaoGuo, Liu
Public bug reported:

I just compared the two API documents:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ViewItems/

it uses the code:

  ViewItems.onDragUpdated: {
   if (event.direction == ListItemDrag.Dropped) {
   // this is the last event, so drop the item
   model.move(event.from, event.to, 1);
   } else if (event.direction != ListItemDrag.Started) {
   // do not accept the moving events, so drag.from will
   // always contain the original drag index
   event.accept = false;
   }
   }

It has the "event.direction" there, but in the API document:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ListItemDrag/

It does not have the "direction" property defined there. Is this a bug?
Shall it be "event.status" instead?

Thanks & best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562667

Title:
  ListItemDrag.direction is not defined in the API document

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1561948] [NEW] ListViewDrag should be ListItemDrag in the API doc

2016-03-25 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ViewItems/

  ViewItems.onDragUpdated: {
if (event.status == ListViewDrag.Started) {
if (event.from < 5) {
// deny dragging on the first 5 element
event.accept = false;

In the above code, the correct should be:

ViewItems.onDragUpdated: {
if (event.status == ListItemDrag.Started) {
if (event.from < 5) {
// deny dragging on the first 5 element
event.accept = false;
} else if (event.from >= 5 && event.from <= 10 &&
  

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561948

Title:
  ListViewDrag should be ListItemDrag in the API doc

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1561861] [NEW] UbuntuColors.Orange should be Ubuntu.orange instead

2016-03-25 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ListItemLayout/

The code:

ListItemLayout {
id: layout
title.text: "Hello..."
title.color: UbuntuColors.Orange
subtitle.text: "...world!"
Rectangle {
SlotsLayout.position: SlotsLayout.Leading
color: "pink"
height: units.gu(6)
width: height
}


UbuntuColors.Orange should be Ubuntu.orange

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561861

Title:
  UbuntuColors.Orange should be Ubuntu.orange instead

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1561814] [NEW] application crashes if subtitle.text of Captions is too long

2016-03-24 Thread XiaoGuo, Liu
Public bug reported:

I copied the code snippet at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Captions/,
and I made an example at https://github.com/liu-xiao-guo/captions

If the code is like:


Captions {
title.text: "Caption1"
subtitle.text: "Subtitle text 111"
// attached properties of an Item type property
// can be changed only with assignment
Component.onCompleted: subtitle.Layout.alignment = 
Qt.AlignRight
}


The app crashes, however, if I change the above code to:

Captions {
title.text: "Caption1"
subtitle.text: "Subtitle text"
// attached properties of an Item type property
// can be changed only with assignment
Component.onCompleted: subtitle.Layout.alignment = 
Qt.AlignRight
}

Then the app does not crash any more.

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561814

Title:
  application crashes if subtitle.text of Captions is too long

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560873] [NEW] InverseMouseArea API code snippet is wrong

2016-03-23 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.InverseMouseArea/

on the above link, the following code:

import QtQuick 2.4
import Ubuntu.Components 1.2
Item {
width: 640
height: 480
Button {
id: button
text: "Press me"
onClicked: {
var component = Qt.createComponent("Popup.qml");
var obj = component.create(parent);
obj.visible = true;
}
}
}

when it runs, it complains:

"qrc:///Main.qml:26: TypeError: Property 'create' of object
QQmlComponent(0x3905890) is not a function"

The correct one should be "component.createObject(parent)"

Best regards,
XiaoGuo

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Low
 Assignee: Zoltan Balogh (bzoltan)
 Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560873

Title:
  InverseMouseArea API code snippet is wrong

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557802] Re: Cannot assign to non-existent sensingMargins "sensingMargins"

2016-03-19 Thread XiaoGuo, Liu
It would be good to highlight those in the API document. Otherwise, a
developer never knows. It would be good to add something like "

since 

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557802

Title:
  Cannot assign to non-existent sensingMargins "sensingMargins"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557802] Re: Cannot assign to non-existent sensingMargins "sensingMargins"

2016-03-19 Thread XiaoGuo, Liu
inablet@ubuntu-phablet:~$ apt-cache policy 
qtdeclarative5-ubuntu-ui-toolkit-plug 
qtdeclarative5-ubuntu-ui-toolkit-plugin:
  Installed: 1.3.1795+15.04.20160106-0ubuntu1
  Candidate: 1.3.1795+15.04.20160106-0ubuntu1
  Version table:
 *** 1.3.1795+15.04.20160106-0ubuntu1 0
100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557802

Title:
  Cannot assign to non-existent sensingMargins "sensingMargins"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557805] [NEW] ReferenceError: PickerPanel is not defined

2016-03-15 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.PickerPanel/

on the page, I just copied the code and made one example for it:

import QtQuick 2.4
import Ubuntu.Components 1.3

/*!
\brief MainView with a Label and Button elements.
*/

MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"

// Note! applicationName needs to match the "name" field of the click 
manifest
applicationName: "pickerpanel1.liu-xiao-guo"

width: units.gu(60)
height: units.gu(85)

Page {
title: i18n.tr("pickerpanel1")

Button {
id: dateButton
property date date: new Date()
text: Qt.formatDateTime(date, "/")
onClicked: PickerPanel.openDatePicker(dateButton, "date", 
"Years|Months")
}
}
}

When running on the phone and on Ubuntu SDK desktop kit:

qrc:///Main.qml:25: ReferenceError: PickerPanel is not defined

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557805

Title:
  ReferenceError: PickerPanel is not defined

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557802] [NEW] Cannot assign to non-existent sensingMargins "sensingMargins"

2016-03-15 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.AbstractButton/

on the page, when I copy the code snippet and make an example for it:

import QtQuick 2.4
import Ubuntu.Components 1.3

/*!
\brief MainView with a Label and Button elements.
*/

MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"

// Note! applicationName needs to match the "name" field of the click 
manifest
applicationName: "abstractbutton.liu-xiao-guo"

width: units.gu(100)
height: units.gu(75)

Page {
title: i18n.tr("abstractbutton")

AbstractButton {
width: units.gu(2)
height: units.gu(2)
sensingMargins {
left: units.gu(1)
top: units.gu(1)
bottom: units.gu(1)
right: units.gu(10)
}
}
}
}

running on the phone results in:

qrc:///Main.qml:31:13: Cannot assign to non-existent sensingMargins
"sensingMargins"

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557802

Title:
  Cannot assign to non-existent sensingMargins "sensingMargins"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557259] Re: typo in the property definitions

2016-03-15 Thread XiaoGuo, Liu
This problem happens to a lot of other API documents. We need to review
all of them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557259

Title:
  typo in the property definitions

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557295] [NEW] theme is never changed after pressing the button

2016-03-14 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ThemeSettings/

on the page, the code has a little problem. The default theme is:

Ubuntu.Components.Themes.Ambiance

There is no chance to change the them at all according to the code. I
have modified the code a little bit:

Button {
text: theme.name == "Ubuntu.Components.Themes.Ambiance" ?
  "SuruDark" : "Ambiance"
onClicked: {

theme.name = (text == "Ambiance" ?
   "Ubuntu.Components.Themes.Ambiance" :
   "Ubuntu.Components.Themes.SuruDark" )
}
}

With the code, it works fine.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557295

Title:
  theme is never changed after pressing the button

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557259] [NEW] typo in the property definitions

2016-03-14 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ScrollView/

on the page:

defaultcontentItem : Item
The contentItem of the ScrollView. This is set by the user. Note that the 
definition of contentItem is somewhat different to that of a Flickable, where 
the contentItem is implicitly created.

read-onlyflickableItem : Item

There should be a space in the property defintions.

default contentItem: Item

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557259

Title:
  typo in the property definitions

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1557252] [NEW] Cannot assign to non-existent property "header"

2016-03-14 Thread XiaoGuo, Liu
Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Header/

on the link, the sample code:

import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
width: units.gu(50)
height: units.gu(70)
header: Header {
width: parent.width
height: units.gu(6)
flickable: scrollableContent
Rectangle {
// to visualize the header
anchors.fill: parent
color: UbuntuColors.blue
}
}
Flickable {
id: scrollableContent
anchors.fill: parent
contentHeight: height * 2
Label {
text: "Flick me"
}
}
}

When running, it gives the error like:

qrc:///Main.qml:32:13: Cannot assign to non-existent property "header"

Best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557252

Title:
  Cannot assign to non-existent property "header"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1556757] Re: optionselector does not display image correctly

2016-03-14 Thread XiaoGuo, Liu
If I change it to qrc://images/icon2.jpg, I will have the follow errors:

QML debugging is enabled. Only use this in a safe environment.
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9:
 QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9:
 QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9:
 QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg
file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9:
 QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg

The usage for [image: "images/icon2.jpg"] should be right since it does
not complain anything about it.

Best regards,
XiaoGuo

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1556757

Title:
  optionselector does not display image correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1556757] [NEW] optionselector does not display image correctly

2016-03-14 Thread XiaoGuo, Liu
Public bug reported:

I have developed a sample code at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.OptionSelector/.
My example code is at:

https://github.com/liu-xiao-guo/optionselector

The following part of the code has problems:

Component {
id: selectorDelegate
OptionSelectorDelegate { text: name; subText: description;
iconSource: {
return Qt.resolvedUrl(image)
}
}
}
ListModel {
id: customModel
ListElement { name: "Name 1"; description: "Description 1"; 
image: "images/icon2.jpg" }
ListElement { name: "Name 2"; description: "Description 2"; 
image: "images/icon2.jpg" }
ListElement { name: "Name 3"; description: "Description 3"; 
image: "images/icon2.jpg" }
ListElement { name: "Name 4"; description: "Description 4"; 
image: "images/icon2.jpg" }
}

The images are defined in the qrc files. However, when I run the app,
the image is shown as black. Attached please find the captured picture.

Thanks & best regards,
XiaoGuo

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

** Attachment added: "a.png"
   https://bugs.launchpad.net/bugs/1556757/+attachment/4598454/+files/a.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1556757

Title:
  optionselector does not display image correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1532708] Re: broken "Ubuntu SDK Desktop Kit" target with the latest SDK on vivid

2016-01-11 Thread XiaoGuo, Liu
** Description changed:

  I am using Ubuntu OS 15.04, and I have installed the SDK at the
  instruction here at: https://developer.ubuntu.com/en/start/ubuntu-sdk
  /installing-the-sdk/
  
  Before I did my SDK installation, I have wiped my previously installed
  SDK in the following steps:
  
  - sudo apt-get remove qtcreator qtcreator-plugin*
  - sudo dpkg --purge qtcreator-plugin-ubuntu
  - Remove the chroots (i386/armhf) and reinstall the chroots
  
  I tried to make sure that it was a clean installation.
  
  Now, when run any of the scopes generated by the SDK templates, and I
  cannot see any of the contents in the scope there. The captured picture
  is like one as shown in the attachment.
  
  liuxg@liuxg:~$ apt-cache policy ubuntu-sdk-ide
  ubuntu-sdk-ide:
-   Installed: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
-   Candidate: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
-   Version table:
-  *** 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1 0
- 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main 
amd64 Packages
- 100 /var/lib/dpkg/status
+   Installed: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
+   Candidate: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
+   Version table:
+  *** 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1 0
+ 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main 
amd64 Packages
+ 100 /var/lib/dpkg/status
+ 
+ After installing the following package, everything works:
+ sudo apt-get install ubuntu-ui-toolkit-theme

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532708

Title:
  broken "Ubuntu SDK Desktop Kit" target with the latest SDK on vivid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1532708/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1532708] [NEW] broken "Ubuntu SDK Desktop Kit" target with the latest SDK on vivid

2016-01-11 Thread XiaoGuo, Liu
Public bug reported:

I am using Ubuntu OS 15.04, and I have installed the SDK at the
instruction here at: https://developer.ubuntu.com/en/start/ubuntu-sdk
/installing-the-sdk/

Before I did my SDK installation, I have wiped my previously installed
SDK in the following steps:

- sudo apt-get remove qtcreator qtcreator-plugin*
- sudo dpkg --purge qtcreator-plugin-ubuntu
- Remove the chroots (i386/armhf) and reinstall the chroots

I tried to make sure that it was a clean installation.

Now, when run any of the scopes generated by the SDK templates, and I
cannot see any of the contents in the scope there. The captured picture
is like one as shown in the attachment.

liuxg@liuxg:~$ apt-cache policy ubuntu-sdk-ide
ubuntu-sdk-ide:
  Installed: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
  Candidate: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
  Version table:
 *** 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1 0
500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main 
amd64 Packages
100 /var/lib/dpkg/status

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_999(010).png"
   
https://bugs.launchpad.net/bugs/1532708/+attachment/4547855/+files/Workspace%201_999%28010%29.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532708

Title:
  broken "Ubuntu SDK Desktop Kit" target with the latest SDK on vivid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1532708/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1532118] Re: ubuntu-sdk does not exist in the latest SDK installation

2016-01-08 Thread XiaoGuo, Liu
** Description changed:

  at the page:
  
  https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/
  
  $ ubuntu-sdk
  
  The above command does not exist any more in the latest SDK
  installation.
  
  The correct one should be:
  
  $ ubuntu-sdk-ide
+ 
+ It could be good to point how to migrate from the old installation to
+ the new one. Otherwise, it may screw up something somewhere.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532118

Title:
  ubuntu-sdk does not exist in the latest SDK installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-meta/+bug/1532118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1531356] Re: Desktop file does not exist when deploying qmake project onto device

2016-01-08 Thread XiaoGuo, Liu
** Description changed:

  I am using Ubuntu Desktop vivid (15.04)
  
  I am now creating qmake projects (QML app with C++ plugin/QtQuick with
  QML UI templates). It runs well on the "Ubuntu SDK Desktop kit".
  However, when I tried to deploy it onto my Ubuntu phone, it complains:
  
  "Desktop file does not exist".
  
  Attached please find the captured screen.
  
  liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
  qtcreator
  qtcreator-plugin-ubuntu   3.1.1+15.10.20151018-0ubuntu1~0vivid1
  qtcreator-plugin-ubuntu-common
  ubuntu-sdk1.222~0ubuntu1~0vivid2
  
  liuxg@liuxg:~$ apt-cache policy ubuntu-sdk
  ubuntu-sdk:
-   Installed: 1.222~0ubuntu1~0vivid2
-   Candidate: 1.222~0ubuntu1~0vivid2
-   Version table:
-  *** 1.222~0ubuntu1~0vivid2 0
- 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main 
amd64 Packages
- 100 /var/lib/dpkg/status
-  1.221 0
- 500 http://mirrors.sohu.com/ubuntu/ vivid/universe amd64 Packages
+   Installed: 1.222~0ubuntu1~0vivid2
+   Candidate: 1.222~0ubuntu1~0vivid2
+   Version table:
+  *** 1.222~0ubuntu1~0vivid2 0
+ 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main 
amd64 Packages
+ 100 /var/lib/dpkg/status
+  1.221 0
+ 500 http://mirrors.sohu.com/ubuntu/ vivid/universe amd64 Packages
+ 
+ This problem happens when migrating from the old SDK to the new SDK. A
+ developer has to remove the qtcreator-plugin, and at the meantime, the
+ developer needs to remove the existing chroots and reinstall everything
+ again.
+ 
+ - sudo apt-get remove qtcreator qtcreator-plugin*
+ - sudo dpkg --purge qtcreator-plugin-ubuntu 
+ - Remove the chroots and reinstall the chroots
  
  Best regards,
  XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1531356

Title:
  Desktop file does not exist when deploying qmake project onto device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1531356/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1531356] Re: Desktop file does not exist when deploying qmake project onto device

2016-01-05 Thread XiaoGuo, Liu
** Description changed:

  I am using Ubuntu Desktop vivid (15.04)
  
  I am now creating qmake projects (QML app with C++ plugin/QtQuick with
  QML UI templates). It runs well on the "Ubuntu SDK Desktop kit".
  However, when I tried to deploy it onto my Ubuntu phone, it complains:
  
  "Desktop file does not exist".
  
  Attached please find the captured screen.
  
+ liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
+ qtcreator 
+ qtcreator-plugin-ubuntu   3.1.1+15.10.20151018-0ubuntu1~0vivid1
+ qtcreator-plugin-ubuntu-common
+ ubuntu-sdk1.222~0ubuntu1~0vivid2
+ 
  Best regards,
  XiaoGuo

** Description changed:

  I am using Ubuntu Desktop vivid (15.04)
  
  I am now creating qmake projects (QML app with C++ plugin/QtQuick with
  QML UI templates). It runs well on the "Ubuntu SDK Desktop kit".
  However, when I tried to deploy it onto my Ubuntu phone, it complains:
  
  "Desktop file does not exist".
  
  Attached please find the captured screen.
  
  liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
- qtcreator 
+ qtcreator
  qtcreator-plugin-ubuntu   3.1.1+15.10.20151018-0ubuntu1~0vivid1
- qtcreator-plugin-ubuntu-common
+ qtcreator-plugin-ubuntu-common
  ubuntu-sdk1.222~0ubuntu1~0vivid2
+ 
+ liuxg@liuxg:~$ apt-cache policy ubuntu-sdk
+ ubuntu-sdk:
+   Installed: 1.222~0ubuntu1~0vivid2
+   Candidate: 1.222~0ubuntu1~0vivid2
+   Version table:
+  *** 1.222~0ubuntu1~0vivid2 0
+ 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main 
amd64 Packages
+ 100 /var/lib/dpkg/status
+  1.221 0
+ 500 http://mirrors.sohu.com/ubuntu/ vivid/universe amd64 Packages
  
  Best regards,
  XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1531356

Title:
  Desktop file does not exist when deploying qmake project onto device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1531356/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1531356] [NEW] Desktop file does not exist when deploying qmake project onto device

2016-01-05 Thread XiaoGuo, Liu
Public bug reported:

I am using Ubuntu Desktop vivid (15.04)

I am now creating qmake projects (QML app with C++ plugin/QtQuick with
QML UI templates). It runs well on the "Ubuntu SDK Desktop kit".
However, when I tried to deploy it onto my Ubuntu phone, it complains:

"Desktop file does not exist".

Attached please find the captured screen.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_999(009).png"
   
https://bugs.launchpad.net/bugs/1531356/+attachment/4544705/+files/Workspace%201_999%28009%29.png

** Description changed:

+ I am using Ubuntu Desktop vivid (15.04)
+ 
  I am now creating qmake projects (QML app with C++ plugin/QtQuick with
  QML UI templates). It runs well on the "Ubuntu SDK Desktop kit".
  However, when I tried to deploy it onto my Ubuntu phone, it complains:
  
  "Desktop file does not exist".
  
  Attached please find the captured screen.
  
  Best regards,
  XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1531356

Title:
  Desktop file does not exist when deploying qmake project onto device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1531356/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1530756] [NEW] Failing to upgrade Ubuntu SDK on Vivid system (15.04)

2016-01-03 Thread XiaoGuo, Liu
Public bug reported:

Recently, I tried to upgrade my Ubuntu SDK on vivid (15.04) system.
However, I got the following error:

liuxg@liuxg:~$ sudo apt-get upgrade
[sudo] password for liuxg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: libubuntugestures5 (= 
1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1) but it 
is not installed
E: Unmet dependencies. Try using -f.

When I tried to use "sudo apt-get -f install", and it gave the following
error:

==
liuxg@liuxg:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libubuntugestures
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libubuntugestures5
The following NEW packages will be installed:
  libubuntugestures5
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/51.2 kB of archives.
After this operation, 243 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 412850 files and directories currently installed.)
Preparing to unpack 
.../libubuntugestures5_1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1_amd64.deb
 ...
Unpacking libubuntugestures5:amd64 
(1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libubuntugestures5_1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1_amd64.deb
 (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libUbuntuGestures.so.5.5.0', 
which is also in package libubuntugestures:amd64 
1.3.1773+201512160901-staging-0+1.3.1742+16.04.20151209~ubuntu15.04.1
Errors were encountered while processing:
 
/var/cache/apt/archives/libubuntugestures5_1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

==

liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
qtcreator
qtcreator-plugin-ubuntu 3.1.1+15.10.20151018-0ubuntu1~0vivid1
qtcreator-plugin-ubuntu-common
ubuntu-sdk  1.222~0ubuntu1~0vivid2

I have checked that libubuntugestures5 only exists on the xenial, and it
does not exist on vivid and Wily. It is a problem for upgrading to the
latest SDK. Also, I found the same problem for upgrading my armhf chroot
inside the Ubuntu SDK.

Reading package lists...

Building dependency tree...
Reading state information...

You might want to run 'apt-get -f install' to correct these. The following 
packages have unmet dependencies:
qtdeclarative5-ubuntu-ui-toolkit-plugin:armhf : Depends: 
libubuntugestures5:armhf (= 1.3.1778+15.04.20151217.1-0ubuntu1) but it is not 
installed qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: libubuntugestures5 
(= 1.3.1778+15.04.20151217.1-0ubuntu1)
E: Unmet dependencies. Try using -f.
Command returned 100: schroot -u root -c source:click-ubuntu-sdk-15.04-armhf -- 
apt-get dist-upgrade --yes
---Click exited with errors, please check the output---

Attached please find the captured picture.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_999(007).png"
   
https://bugs.launchpad.net/bugs/1530756/+attachment/4543720/+files/Workspace%201_999%28007%29.png

** Description changed:

  Recently, I tried to upgrade my Ubuntu SDK on vivid (15.04) system.
  However, I got the following error:
  
  liuxg@liuxg:~$ sudo apt-get upgrade
- [sudo] password for liuxg: 
+ [sudo] password for liuxg:
+ Reading package lists... Done
+ Building dependency tree
+ Reading state information... Done
+ You might want to run 'apt-get -f install' to correct these.
+ The following packages have unmet dependencies:
+  qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: libubuntugestures5 (= 
1.3.1793+201512231902-staging-0+1.3.1778+16.04.20151217.1~ubuntu15.04.1) but it 
is not installed
+ E: Unmet dependencies. Try using -f.
+ 
+ When I tried to use "sudo apt-get -f install", and it gave the following
+ error:
+ 
+ ==
+ liuxg@liuxg:~$ sudo apt-get -f install
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
- You might want to run 'apt-get -f install' to correct these.
- The following packages have unmet dependencies:
-  qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: 

[Bug 1530756] Re: Failing to upgrade Ubuntu SDK on Vivid system (15.04)

2016-01-03 Thread XiaoGuo, Liu
** Also affects: canonical-developer-experience
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530756

Title:
  Failing to upgrade Ubuntu SDK on Vivid system (15.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1530756/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1530757] Re: Fail to run a default template QML app on Ubuntu vivid after upgrading to the latest Ubuntu SDK

2016-01-03 Thread XiaoGuo, Liu
** Also affects: canonical-developer-experience
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530757

Title:
  Fail to run a default template QML app on Ubuntu vivid after upgrading
  to the latest Ubuntu SDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1530757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1530757] [NEW] Fail to run a default template QML app on Ubuntu vivid after upgrading to the latest Ubuntu SDK

2016-01-03 Thread XiaoGuo, Liu
Public bug reported:

I have tried to update my Ubuntu SDK to the latest state though I got
the error at https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-
ubuntu/+bug/1530756

When I tried to run a template QML app "QML app with simple UI
(qmlproject)" for Desktop, I get the following error:

Starting /usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene...
file:///home/liuxg/qml/test11/Main.qml:2 plugin cannot be loaded for module 
"Ubuntu.Components": Cannot load library 
/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/libUbuntuComponents.so: 
(/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/libUbuntuComponents.so: 
undefined symbol: _ZTV11UCSwipeArea)

Attached please find the captured screenshot.

** Affects: canonical-developer-experience
 Importance: Undecided
 Status: New

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_999(008).png"
   
https://bugs.launchpad.net/bugs/1530757/+attachment/4543721/+files/Workspace%201_999%28008%29.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530757

Title:
  Fail to run a default template QML app on Ubuntu vivid after upgrading
  to the latest Ubuntu SDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1530757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1519255] [NEW] Autopilot Testsuite configuration is set by default after a project is created

2015-11-24 Thread XiaoGuo, Liu
Public bug reported:

I am now using the latest Ubuntu SDK IDE on vivid desktop:

qtcreator
qtcreator-plugin-ubuntu 3.1.1+15.10.20151018-0ubuntu1~0vivid1
qtcreator-plugin-ubuntu-common
ubuntu-sdk  1.222~0ubuntu1~0vivid2

Once a project is created, the "Autopilot Testsuite" is set to be the
default to run.  Attached please see the captured picture. In order to
get the app running, I have to set it to "QML Scene/Viewer/webdm", which
is inconvenient since it takes one more step to get the app running. For
starters, they may have problems in setting it correctly to get the app
running. It would be good to set to anyone except "Autopilot Testsuite".

When I run the "Autopilot Testsuite", I get the following:

Starting /usr/bin/autopilot3-sandbox-run...
E: Xephyr executable not found. Please install Xephyr
/usr/bin/autopilot3-sandbox-run exited with code 1

Thanks

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_999(003).png"
   
https://bugs.launchpad.net/bugs/1519255/+attachment/4524492/+files/Workspace%201_999%28003%29.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1519255

Title:
  Autopilot Testsuite configuration is set by default after a project is
  created

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1519255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1519255] Re: Autopilot Testsuite configuration is set by default after a project is created

2015-11-24 Thread XiaoGuo, Liu
** Description changed:

  I am now using the latest Ubuntu SDK IDE on vivid desktop:
  
- qtcreator 
+ qtcreator
  qtcreator-plugin-ubuntu   3.1.1+15.10.20151018-0ubuntu1~0vivid1
- qtcreator-plugin-ubuntu-common
+ qtcreator-plugin-ubuntu-common
  ubuntu-sdk1.222~0ubuntu1~0vivid2
  
  Once a project is created, the "Autopilot Testsuite" is set to be the
  default to run.  Attached please see the captured picture. In order to
  get the app running, I have to set it to "QML Scene/Viewer/webdm", which
  is inconvenient since it takes one more step to get the app running. For
  starters, they may have problems in setting it correctly to get the app
  running. It would be good to set to anyone except "Autopilot Testsuite".
  
+ When I run the "Autopilot Testsuite", I get the following:
+ 
+ Starting /usr/bin/autopilot3-sandbox-run...
+ E: Xephyr executable not found. Please install Xephyr
+ /usr/bin/autopilot3-sandbox-run exited with code 1
+ 
  Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1519255

Title:
  Autopilot Testsuite configuration is set by default after a project is
  created

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1519255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1477363] Re: onDestruction is never called in the QML component

2015-11-12 Thread XiaoGuo, Liu
But the same code on desktop has the output.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477363

Title:
  onDestruction is never called in the QML component

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1515599] [NEW] qt5 help document is not installed by default

2015-11-12 Thread XiaoGuo, Liu
Public bug reported:

After installation of SDK, qt5 help document is not there. I still need
to use the following to install:

sudo apt-get install qt5-doc

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515599

Title:
  qt5 help document is not installed by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1515599/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1515598] [NEW] qt5 help document is not installed by default

2015-11-12 Thread XiaoGuo, Liu
Public bug reported:

After installation of SDK, qt5 help document is not there. I still need
to use the following to install:

sudo apt-get install qt5-doc

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515598

Title:
  qt5 help document is not installed by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1515598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1501651] Re: ARM chroot issues: fatal error: rt_sigaction failure

2015-11-08 Thread XiaoGuo, Liu
It affects python as well.

** Attachment added: "root@77152b79b35c: 
-home-liuxg-snappy-mqtt-Ubuntu-Core-Thingstudio_999.png"
   
https://bugs.launchpad.net/snapcraft/+bug/1501651/+attachment/4515301/+files/root%4077152b79b35c%3A%20-home-liuxg-snappy-mqtt-Ubuntu-Core-Thingstudio_999.png

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1501651

Title:
  ARM chroot issues: fatal error: rt_sigaction failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1501651/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1501651] Re: ARM chroot issues: fatal error: rt_sigaction failure

2015-11-08 Thread XiaoGuo, Liu
It affects python as well.

** Attachment added: "root@77152b79b35c: 
-home-liuxg-snappy-mqtt-Ubuntu-Core-Thingstudio_999.png"
   
https://bugs.launchpad.net/snapcraft/+bug/1501651/+attachment/4515301/+files/root%4077152b79b35c%3A%20-home-liuxg-snappy-mqtt-Ubuntu-Core-Thingstudio_999.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501651

Title:
  ARM chroot issues: fatal error: rt_sigaction failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1501651/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1501651] Re: ARM chroot issues: fatal error: rt_sigaction failure

2015-11-07 Thread XiaoGuo, Liu
I also got the same problem. How to fix it?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1501651

Title:
  ARM chroot issues: fatal error: rt_sigaction failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1501651/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1501651] Re: ARM chroot issues: fatal error: rt_sigaction failure

2015-11-07 Thread XiaoGuo, Liu
I also got the same problem. How to fix it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501651

Title:
  ARM chroot issues: fatal error: rt_sigaction failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1501651/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1512094] Re: Cannot deploy a "QML App with C++ plugin (qmake)" template onto a phone

2015-11-03 Thread XiaoGuo, Liu
Please see the answer at the link http://askubuntu.com/questions/693392
/desktop-file-does-not-exist-error-when-using-qmake-based-template-in-
ubuntu-sd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512094

Title:
  Cannot deploy a "QML App with C++ plugin (qmake)" template onto a
  phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1512094/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1512272] [NEW] Cannot delete a chroot from ubuntu SDK

2015-11-02 Thread XiaoGuo, Liu
Public bug reported:

I follow "Tools/options", then "Build & Run", in the "Kit" tab,  I try
to delete the install chroots there by select "remove", but in the end
the chroots are not removed. Re-launching the SDK still see the install
chroots there.

This happens on 15.04 desktop.

liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
qtcreator   3.1.1-0ubuntu9
qtcreator-plugin-ubuntu 3.1.1+15.10.20151018-0ubuntu1~0vivid1
qtcreator-plugin-ubuntu-common  3.1.1+15.10.20151018-0ubuntu1~0vivid1
ubuntu-sdk  1.221

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512272

Title:
  Cannot delete a chroot from ubuntu SDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1512272/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1512094] Re: Cannot deploy a "QML App with C++ plugin (qmake)" template onto a phone

2015-11-01 Thread XiaoGuo, Liu
Attached please find the captured screen.

** Description changed:

  I just followed the SDK template "QML App with C++ plugin (qmake)"
  template, and I created a simple template app without doing any change.
  
  The app can be running on the desktop, however, it cannot be deployed
  onto a real phone target.
  
  It complains "Desktop file does not exist".
  
  I tested it on 15.04, and my phone image is 15.04 as well. The SDK is
  the latest one from the ppa as described in the developer website.
  
+ liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
+ qtcreator 3.1.1-0ubuntu9
+ qtcreator-plugin-ubuntu   3.1.1+15.10.20151018-0ubuntu1~0vivid1
+ qtcreator-plugin-ubuntu-common3.1.1+15.10.20151018-0ubuntu1~0vivid1
+ ubuntu-sdk1.221
+ 
+ 
  Best regards,
  XiaoGuo

** Attachment added: "Workspace 1_986.png"
   
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1512094/+attachment/4510822/+files/Workspace%201_986.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512094

Title:
  Cannot deploy a "QML App with C++ plugin (qmake)" template onto a
  phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1512094/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1512094] [NEW] Cannot deploy a "QML App with C++ plugin (qmake)" template onto a phone

2015-11-01 Thread XiaoGuo, Liu
Public bug reported:

I just followed the SDK template "QML App with C++ plugin (qmake)"
template, and I created a simple template app without doing any change.

The app can be running on the desktop, however, it cannot be deployed
onto a real phone target.

It complains "Desktop file does not exist".

I tested it on 15.04, and my phone image is 15.04 as well. The SDK is
the latest one from the ppa as described in the developer website.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512094

Title:
  Cannot deploy a "QML App with C++ plugin (qmake)" template onto a
  phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1512094/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked

2015-10-19 Thread XiaoGuo, Liu
I just did a testing, and I did receive the notification on my MX4
device. I did the following:

1) Install the "hello" from our Ubuntu store. It is a push notification client
2) Register an account with any name (nick) in the client
3) Open the webpage link at http://direct.ralsina.me:8001/

When the app is in the foreground and press the power button, On the
webpage, just send a message to your client (to the nick). Then unlock
the phone again, you will see that the message comes in and it is shown
there in the app.

However, the problem is that there is no indication of the LED flashing
or sound for the newly received notification. I think this is a must for
a messaging app. An end user should not miss the reminding of the new
messages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1507510

Title:
  Push notifications missing when app in foreground, but device locked

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1499213] Re: Default Scope template cannot be successfully compiled

2015-09-30 Thread XiaoGuo, Liu
yes, it solved the problem! thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499213

Title:
  Default Scope template cannot be successfully compiled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499213/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1477363] Re: onDestruction is never called in the QML component

2015-09-27 Thread XiaoGuo, Liu
This needs to be fixed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Expired => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477363

Title:
  onDestruction is never called in the QML component

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1499213] [NEW] Default Scope template cannot be successfully compiled

2015-09-24 Thread XiaoGuo, Liu
Public bug reported:

I just selected "Unity Scope (Current)" template on vivid to create a
template Scope. I selected "Pure C++ Scope using HTTP + Json".

 When I run the template scope, it complains:

/home/liuxg/release1/chinaweather/src/client.cpp:7: error: json/json.h: No such 
file or directory
 #include 
   ^

Attached please find the captured screenshot for it.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_906.png"
   
https://bugs.launchpad.net/bugs/1499213/+attachment/4473075/+files/Workspace%201_906.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499213

Title:
  Default Scope template cannot be successfully compiled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499213/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1499213] Re: Default Scope template cannot be successfully compiled

2015-09-24 Thread XiaoGuo, Liu
** Description changed:

  I just selected "Unity Scope (Current)" template on vivid to create a
  template Scope. I selected "Pure C++ Scope using HTTP + Json".
  
-  When I run the template scope, it complains:
+  When I run the template scope on Desktop, it complains:
  
  /home/liuxg/release1/chinaweather/src/client.cpp:7: error: json/json.h: No 
such file or directory
   #include 
     ^
  
  qtcreator 3.1.1-0ubuntu9
  qtcreator-plugin-ubuntu   3.1.1+15.10.20150720-0ubuntu1~0vivid1
  qtcreator-plugin-ubuntu-common3.1.1+15.10.20150720-0ubuntu1~0vivid1
  ubuntu-sdk1.221vivid12
  
  Attached please find the captured screenshot for it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499213

Title:
  Default Scope template cannot be successfully compiled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499213/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1499213] Re: Default Scope template cannot be successfully compiled

2015-09-24 Thread XiaoGuo, Liu
** Description changed:

  I just selected "Unity Scope (Current)" template on vivid to create a
  template Scope. I selected "Pure C++ Scope using HTTP + Json".
  
-  When I run the template scope, it complains:
+  When I run the template scope, it complains:
  
  /home/liuxg/release1/chinaweather/src/client.cpp:7: error: json/json.h: No 
such file or directory
-  #include 
-^
+  #include 
+    ^
+ 
+ qtcreator 3.1.1-0ubuntu9
+ qtcreator-plugin-ubuntu   3.1.1+15.10.20150720-0ubuntu1~0vivid1
+ qtcreator-plugin-ubuntu-common3.1.1+15.10.20150720-0ubuntu1~0vivid1
+ ubuntu-sdk1.221vivid12
  
  Attached please find the captured screenshot for it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499213

Title:
  Default Scope template cannot be successfully compiled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499213/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1499135] Re: Cannot deploy a scope onto phone due to reserved policy group 'debug': not for production use

2015-09-24 Thread XiaoGuo, Liu
** Description changed:

  I just used the latest SDK on vivid, and I created a template scope
  using "Unity scope (current)". It ran fine on Desktop. However, when I
  tried to deploy my scope onto my phone, it complained:
  
  :-1: error: security:policy_groups_safe:testscope2:debug: (REJECT)
  reserved policy group 'debug': not for production use
  
  This problem happens to the "QtQuick App with QML UI (qmake)" template
  as well.
  
  To reproduce the problem. you may remove the .user file in the project,
  then re-import it and let the QtC configure for armhf. The problem will
  appear.
  
+ qtcreator 3.1.1-0ubuntu9
+ qtcreator-plugin-ubuntu   3.1.1+15.10.20150720-0ubuntu1~0vivid1
+ qtcreator-plugin-ubuntu-common3.1.1+15.10.20150720-0ubuntu1~0vivid1
+ ubuntu-sdk1.221vivid12
+ 
+ 
  Attached please find the screenshot for it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499135

Title:
  Cannot deploy a scope onto phone due to reserved policy group 'debug':
  not for production use

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1448180] Re: QGeoSatelliteInfoSource::createDefaultSource() returns NULL on the bq phone

2015-09-23 Thread XiaoGuo, Liu
Is there any update on this? has it been fixed? on MX4, I got null
pointer. How can I get the location info using C++?

 source = QGeoSatelliteInfoSource::createDefaultSource(this);

source is null.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1448180

Title:
  QGeoSatelliteInfoSource::createDefaultSource() returns NULL on the bq
  phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1448180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1499135] Re: Cannot deploy a scope onto phone due to reserved policy group 'debug': not for production use

2015-09-23 Thread XiaoGuo, Liu
** Description changed:

  I just used the latest SDK on vivid, and I created a template scope
  using "Unity scope (current)". It ran fine on Desktop. However, when I
  tried to deploy my scope onto my phone, it complained:
  
  :-1: error: security:policy_groups_safe:testscope2:debug: (REJECT)
  reserved policy group 'debug': not for production use
  
+ This problem happens to the "QtQuick App with QML UI (qmake)" template
+ as well.
  
  Attached please find the screenshot for it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499135

Title:
  Cannot deploy a scope onto phone due to reserved policy group 'debug':
  not for production use

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1499135] [NEW] Cannot deploy a scope onto phone due to reserved policy group 'debug': not for production use

2015-09-23 Thread XiaoGuo, Liu
Public bug reported:

I just used the latest SDK on vivid, and I created a template scope
using "Unity scope (current)". It ran fine on Desktop. However, when I
tried to deploy my scope onto my phone, it complained:

:-1: error: security:policy_groups_safe:testscope2:debug: (REJECT)
reserved policy group 'debug': not for production use


Attached please find the screenshot for it.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_904.png"
   
https://bugs.launchpad.net/bugs/1499135/+attachment/4472853/+files/Workspace%201_904.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499135

Title:
  Cannot deploy a scope onto phone due to reserved policy group 'debug':
  not for production use

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1499135] Re: Cannot deploy a scope onto phone due to reserved policy group 'debug': not for production use

2015-09-23 Thread XiaoGuo, Liu
** Description changed:

  I just used the latest SDK on vivid, and I created a template scope
  using "Unity scope (current)". It ran fine on Desktop. However, when I
  tried to deploy my scope onto my phone, it complained:
  
  :-1: error: security:policy_groups_safe:testscope2:debug: (REJECT)
  reserved policy group 'debug': not for production use
  
  This problem happens to the "QtQuick App with QML UI (qmake)" template
  as well.
  
+ To reproduce the problem. you may remove the .user file in the project,
+ then re-import it and let the QtC configure for armhf. The problem will
+ appear.
+ 
  Attached please find the screenshot for it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499135

Title:
  Cannot deploy a scope onto phone due to reserved policy group 'debug':
  not for production use

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1499135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1494566] [NEW] "Tools/Ubuntu/Showcase gallery" is not working after updating my SDK

2015-09-10 Thread XiaoGuo, Liu
Public bug reported:

I have tried to update my SDK to the most updated state. Then, my
"Showcase gallery" is not working any more.


Failed opening project 
'/tmp/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qmlproject': Project 
is not a file

Attached please find the captured picture for it.

This is the second time which happened to me. I am not sure whether it
is related to having the the following repository:

add-apt-repository ppa:ci-train-ppa-service/stable-phone-overlay

liuxg@liuxg:~$ dpkg-query -W ubuntu-sdk qtcreator qtcreator-plugin-ubuntu 
qtcreator-plugin-ubuntu-common
qtcreator   3.1.1-0ubuntu9
qtcreator-plugin-ubuntu 3.1.1+15.10.20150720-0ubuntu1~0vivid1
qtcreator-plugin-ubuntu-common  3.1.1+15.10.20150720-0ubuntu1~0vivid1
ubuntu-sdk  1.221vivid8


Thanks & best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Workspace 1_893.png"
   
https://bugs.launchpad.net/bugs/1494566/+attachment/4461075/+files/Workspace%201_893.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494566

Title:
  "Tools/Ubuntu/Showcase gallery" is not working after updating my SDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1494566/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1443351] Re: .desktop file is not translated for qmake based projects

2015-09-07 Thread XiaoGuo, Liu
Would it be good to backport the fixes to vivid OS.  Most of the
developers are still using the SDK on vivid. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443351

Title:
  .desktop file is not translated for qmake based projects

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1443351/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1479581] Re: Debug helper is disabled by default

2015-08-22 Thread XiaoGuo, Liu
This bug has been verified by a developer attending our Hackathon event.
He got a brand new installation, and the problem existed on his machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1479581

Title:
  Debug helper is disabled by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1479581/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487682] [NEW] No error indication when there is a - in the app name during the wizard

2015-08-22 Thread XiaoGuo, Liu
Public bug reported:

A developer does not know what to do if the app name contains an error
during the wizard. The Next  button is greyed, and the there is tip
for correcting the error.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: QML App with Simple UI (qmlproject)_861.png
   
https://bugs.launchpad.net/bugs/1487682/+attachment/4450700/+files/QML%20App%20with%20Simple%20UI%20%28qmlproject%29_861.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487682

Title:
  No error indication when there is a - in the app name during the
  wizard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1487682/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487667] [NEW] Setting automaticOrientation to false does not take any effect

2015-08-21 Thread XiaoGuo, Liu
Public bug reported:

When the automaticOrientation is set to false, my app still rotates when
my app rotates. It does not take any effect.

MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: mainView

// Note! applicationName needs to match the name field of the click 
manifest
applicationName: com.ubuntu.developer.liu-xiao-guo.Memory

/*
 This property enables the application to change orientation
 when the device is rotated. The default is false.
*/
automaticOrientation: false

width: units.gu(60)
height: units.gu(85)

Page {
title: i18n.tr(Memory Card)

Game {
anchors.fill: parent
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
}
}
}

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487667

Title:
  Setting automaticOrientation to false does not take any effect

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487284] [NEW] Duplicated policies can be added into the project

2015-08-20 Thread XiaoGuo, Liu
Public bug reported:

Attached please find the screenshot. Duplicated webview is added into
the security policy window. It should be checked whether it exists
before physically adding into the list to make sure only one instance is
there.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: Workspace 1_858.png
   
https://bugs.launchpad.net/bugs/1487284/+attachment/4449979/+files/Workspace%201_858.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487284

Title:
  Duplicated policies can be added into the project

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1487284/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1486480] [NEW] Cannot find the location of the click package when building and validating click package in QtC

2015-08-19 Thread XiaoGuo, Liu
Public bug reported:

I try to select Publish in Qt Creator, and select Build and Validate
click package. However, I do not get any clue about where to find the
click package. Previously, it showed that it was somewhere under /tmp
directory. Now, it seems there is no message for it at all. It would be
good to show where to find the click package file since a developer may
need it to publish the app.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1486480

Title:
  Cannot find the location of the click package when building and
  validating click package in QtC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1486480/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1485980] [NEW] Wrong error message is dumped

2015-08-18 Thread XiaoGuo, Liu
Public bug reported:

In my QML app, I used:

import Ubuntu.Components 1.1

and


UbuntuShape {
height: parent.width
width: height
image: Image {
id: image
source: preview
height: parent.width
width: height
sourceSize.height: height
sourceSize.width: width
fillMode: Image.PreserveAspectFit
smooth: true
}
Image {
id: selectionTick
anchors.right: parent.right
anchors.top: parent.top
width: units.gu(5)
height: units.gu(5)
visible: curItem.selected  root.pickMode
source: photo-preview-selected-overlay.png
}

}

When I tried to run my app, it complained:

file:///opt/click.ubuntu.com/contenthub-exporter.liu-xiao-
guo/0.1/Main.qml:276:21: QML UbuntuShape: 'image' is deprecated. Use
'source' instead.

In fact, image property exists in Ubuntu.Components 1.1, and it does
not exist in Ubuntu.Components 1.2. If I use source instead of
image,  I have to change to use Ubuntu.Components 1.2. Otherwise,
there I cannot run my app since source does not exist in the
Ubuntu.Components 1.1 at all.

We need to dump the correct warning message according to the
Ubuntu.Components version. Otherwise, a developer changes the code, but
it may not run in the previous version of the phones.  In some case, it
just simply causes some confusion.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485980

Title:
  Wrong error message is dumped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1485980/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1485979] [NEW] Wrong error message is dumped

2015-08-18 Thread XiaoGuo, Liu
Public bug reported:

In my QML app, I used:

import Ubuntu.Components 1.1

and


UbuntuShape {
height: parent.width
width: height
image: Image {
id: image
source: preview
height: parent.width
width: height
sourceSize.height: height
sourceSize.width: width
fillMode: Image.PreserveAspectFit
smooth: true
}
Image {
id: selectionTick
anchors.right: parent.right
anchors.top: parent.top
width: units.gu(5)
height: units.gu(5)
visible: curItem.selected  root.pickMode
source: photo-preview-selected-overlay.png
}

}

When I tried to run my app, it complained:

file:///opt/click.ubuntu.com/contenthub-exporter.liu-xiao-
guo/0.1/Main.qml:276:21: QML UbuntuShape: 'image' is deprecated. Use
'source' instead.

In fact, image property exists in Ubuntu.Components 1.1, and it does
not exist in Ubuntu.Components 1.2. If I use source instead of
image,  I have to change to use Ubuntu.Components 1.2. Otherwise,
there I cannot run my app since source does not exist in the
Ubuntu.Components 1.1 at all.

We need to dump the correct warning message according to the
Ubuntu.Components version. Otherwise, a developer changes the code, but
it may not run in the previous version of the phones.  In some case, it
just simply causes some confusion.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485979

Title:
  Wrong error message is dumped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1485979/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481147] [NEW] actons does not show in MainView

2015-08-03 Thread XiaoGuo, Liu
Public bug reported:

I created a very simple MainView app, and I got an action in the
MainView. The actions do not show up:

import QtQuick 2.0
import Ubuntu.Components 1.1

/*!
\brief MainView with a Label and Button elements.
*/

MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: mainView

// Note! applicationName needs to match the name field of the click 
manifest
applicationName: maiviewactions.liu-xiao-guo

/*
 This property enables the application to change orientation
 when the device is rotated. The default is false.
*/
//automaticOrientation: true

// Removes the old toolbar and enables new features of the new header.
useDeprecatedToolbar: false

width: units.gu(60)
height: units.gu(85)

actions: [
Action  {
objectName: action

// iconSource: Qt.resolvedUrl(images/avatar.jpg)
iconName: active-call

onTriggered: {
console.log(action is clicked!);
}
}
]

Page {
title: i18n.tr(maiviewactions)

Label {
anchors.centerIn: parent
text: this is the label
}

}
}

Thanks  best regards,
XiaoGuo

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481147

Title:
  actons does not show in MainView

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1480801] [NEW] Current localization does not cover the support for the desktop file

2015-08-03 Thread XiaoGuo, Liu
Public bug reported:

The desktop file contains the application. Current template does not
provide the support for localizing the application name. It should be
added to support multiple languages.

Thanks   best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480801

Title:
  Current localization does not cover the support for the desktop file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1480801/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1480771] [NEW] No support for localization for the QtQuick App for QML UI template

2015-08-03 Thread XiaoGuo, Liu
Public bug reported:

Currently, there is no localization support for the QtQuick App for QML
UI template. There is no po localization folder generated during the
compilation. This is important to make an app international.

Best regards,
XiaoGuo

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480771

Title:
  No support for localization for the QtQuick App for QML UI template

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1480771/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1480771] Re: QtQuick App for QML UI template does not include the correct path for generating po folder

2015-08-03 Thread XiaoGuo, Liu
** Summary changed:

- No support for localization for the QtQuick App for QML UI template
+ QtQuick App for QML UI template does not include the correct path for 
generating po folder

** Summary changed:

- QtQuick App for QML UI template does not include the correct path for 
generating po folder
+ Wrong directory used for translation for new projects when app name was 
changed

** Description changed:

- Currently, there is no localization support for the QtQuick App for QML
- UI template. There is no po localization folder generated during the
- compilation. This is important to make an app international.
+ I use our SDK QtQuick app with QML UI to generate a template
+ application. However, when I build my app, it does not generate the po
+ folder to produce the right files for localization.
+ 
+ The sample code is at:
+ 
+ bzr branch lp:~liu-xiao-guo/debiantrial/testquickqt
+ 
+ # specify the source files that should be included into
+ # the translation file, from those files a translation
+ # template is created in po/template.pot, to create a
+ # translation copy the template to e.g. de.po and edit the sources
+ UBUNTU_TRANSLATION_SOURCES+= \
+ $$files(app/*.qml,true) \
+ $$files(app/*.js,true)
+ 
+ The correct one should be:
+ 
+ === modified file 'testquickqt.pro'
+ --- testquickqt.pro   2015-08-03 06:51:39 +
+ +++ testquickqt.pro   2015-08-03 06:55:32 +
+ @@ -21,8 +21,8 @@
+  # template is created in po/template.pot, to create a
+  # translation copy the template to e.g. de.po and edit the sources
+  UBUNTU_TRANSLATION_SOURCES+= \
+ -$$files(app/*.qml,true) \
+ -$$files(app/*.js,true)
+ +$$files(testquickqt/*.qml,true) \
+ +$$files(testquickqt/*.js,true)
+  
+  # specifies all translations files and makes sure they are
+  # compiled and installed into the right place in the click package
+ 
+ I tested it on vivid!
  
  Best regards,
  XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480771

Title:
  Wrong directory used for translation for new projects when app name
  was changed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1480771/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1443351] Re: .desktop file is not translated for qmake based projects

2015-08-03 Thread XiaoGuo, Liu
Also, in the manifest file, there are fields called description and
title. They need to be translated as well.

{
name: testquickqt.liu-xiao-guo,
description: description of testquickqt,
architecture: @CLICK_ARCH@,
title: testquickqt,
hooks: {
testquickqt: {
apparmor: testquickqt/testquickqt.apparmor,
desktop: testquickqt/testquickqt.desktop
}
},
version: 0.1,
maintainer: XiaoGuo, Liu xiaoguo@canonical.com,
framework: ubuntu-sdk-15.04
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443351

Title:
  .desktop file is not translated for qmake based projects

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1443351/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1479581] Re: Debug helper is disabled by default

2015-07-30 Thread XiaoGuo, Liu
** Description changed:

  I have just updated my Qt Creator to the latest:
  
  liuxg@liuxg:~/qml$ dpkg-query -W qtcreator-plugin-ubuntu
  qtcreator-plugin-ubuntu   3.1.1+15.10.20150720-0ubuntu1~0vivid1
  
- 
- I found that the debug helper is disabled for QML app by default. This is a 
needed feature for debugging the app. It should be enabled by default.
+ I found that the debug helper is disabled for QML app by default for
+ armhf kit. This is a needed feature for debugging the app. It should be
+ enabled by default.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1479581

Title:
  Debug helper is disabled by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1479581/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1479581] [NEW] Debug helper is disabled by default

2015-07-29 Thread XiaoGuo, Liu
Public bug reported:

I have just updated my Qt Creator to the latest:

liuxg@liuxg:~/qml$ dpkg-query -W qtcreator-plugin-ubuntu
qtcreator-plugin-ubuntu 3.1.1+15.10.20150720-0ubuntu1~0vivid1


I found that the debug helper is disabled for QML app by default. This is a 
needed feature for debugging the app. It should be enabled by default.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: Workspace 1_848.png
   
https://bugs.launchpad.net/bugs/1479581/+attachment/4435994/+files/Workspace%201_848.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1479581

Title:
  Debug helper is disabled by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1479581/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471383] Re: Cannot deploy Ubuntu SDK HTML5 template application onto a phone

2015-07-28 Thread XiaoGuo, Liu
Hi Alex,

Yes, I see the fix now. It seems that the ambiance is still not working
for 15.04. Attached please find my captured screenshot. This is related
to the bug report at:

https://bugs.launchpad.net/webapps-sprint/+bug/1478444

** Attachment added: a.png
   
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1471383/+attachment/4435460/+files/a.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471383

Title:
  Cannot deploy Ubuntu SDK HTML5 template application onto a phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1471383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1477363] Re: onDestruction is never called in the QML component

2015-07-27 Thread XiaoGuo, Liu
Can you take a look at the code I showed above? it is in the mainview.
Please find the code at:

bzr branch lp:~liu-xiao-guo/debiantrial/ondestruction

On the setting page, it is used as an example for saving the state. If I
understand correctly, it should be called like Component.onCompleted
event for each of the component.

Thanks   best regards,
XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477363

Title:
  onDestruction is never called in the QML component

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471383] Re: Cannot deploy Ubuntu SDK HTML5 template application onto a phone

2015-07-27 Thread XiaoGuo, Liu
Hi,

I have tried to update my system. However, I still get:

liuxg@liuxg:~$ dpkg-query -W  qtcreator-plugin-ubuntu
qtcreator-plugin-ubuntu 3.1.1+15.10.20150616-0ubuntu1~0vivid1


Could you please help to fix it for vivid 15.04? Most of the developers are not 
using Wily yet. Our contest is getting closer at the end the month. Please help 
to fix it as soon as possible.

Thanks  best regards,
XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471383

Title:
  Cannot deploy Ubuntu SDK HTML5 template application onto a phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1471383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1458419] Re: QML Window API crashes the system

2015-07-26 Thread XiaoGuo, Liu
** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Expired = New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1458419

Title:
  QML Window API crashes the system

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1477363] [NEW] onDestruction is never called in the QML component

2015-07-22 Thread XiaoGuo, Liu
Public bug reported:

I have created a very simple application, and I want to capture the
onDestruction event. However, it is never called on a phone, but it is
called on the desktop. On the page,
http://developer.ubuntu.com/api/apps/qml/sdk-15.04/Qt.labs.settings.Settings/,
it is used to save the state of the application.

  Page {
title: i18n.tr(ondestruction)

Column {
spacing: units.gu(1)
anchors {
margins: units.gu(2)
fill: parent
}

Label {
id: label
objectName: label

text: i18n.tr(Hello..)
}

Button {
objectName: button
width: parent.width

text: i18n.tr(Tap me!)

onClicked: {
label.text = i18n.tr(..world!)
}
}
}

Component.onDestruction: {
console.log(ondestruction)
}
}

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477363

Title:
  onDestruction is never called in the QML component

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471383] Re: Cannot deploy Ubuntu SDK HTML5 template application onto a phone

2015-07-06 Thread XiaoGuo, Liu
** Tags added: univ-train

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471383

Title:
  Cannot deploy Ubuntu SDK HTML5 template application onto a phone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1471383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


  1   2   3   >