Clipboard clear method crashes and Pushing data straight to clipboard is not working

Bug #1457361 reported by XiaoGuo, Liu
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Medium
Zsombor Egri

Bug Description

- I tried to call the Clipboard.clear() method, and it crashes my application for 100% sure.

- I tried the "2. Pushing data straight to clipboard" method on page:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.Clipboard/

it does not work at all. The method 1/3 work fine.

I have my test code:

https://gitcafe.com/ubuntu/clipboard/tree/master

You can check it out by running:

git clone https://gitcafe.com/ubuntu/clipboard.git

The test phone image is:

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 195
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/vivid-proposed
last update: 2015-05-12 14:52:33
version version: 195
version ubuntu: 20150512
version device: 20150210
version custom: 20150508

description: updated
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Zsombor Egri (zsombi)
Revision history for this message
Franck (alci) wrote :

I can confirm that Clipboard.clear() also consistently crashes my app... worked it around by pushing "", but not sure if it will really wipe out my previously pushed data (or if it is a stack...)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.