← Back to team overview

ubuntu-phone team mailing list archive

Re: QML Drag & Drop?

 

Not having D&D working properly in a touch app is quite a bummer. Is
there anyone working on fixing this?

With that said, there's something more fundamentally broken with my
environment. I cannot make even this trivial example work:

     http://paste.ubuntu.com/6150580/

qmlscene displays it, but the application is completely unresponsive.
I can run the application either via terminal or via "adb shell", and
neither works.

What's the proper way to run an app on the phone for testing?



On Tue, Sep 24, 2013 at 12:19 PM, Roman Shchekin <mrqtros@xxxxxxxxx> wrote:
>>> Drag & drop under QML doesn't seem to work on the phone with the same
>>> logic it does on the desktop
>
> We have the same problem in RSS Reader team.
> As far as I know, question is still open in our project, and we have no any
> solution.
>
> BR,
> Roman.
>
>
>
> 2013/9/24 Daniel Holm <d.holmen@xxxxxxxxx>
>>
>> Hi,
>>
>> With the Music app, we had to create our own functionality, which
>> Andrew Hayzen did a terric job with, and it just landed in Music.
>> Take a look:
>>
>> https://code.launchpad.net/~andrew-hayzen/music-app/reordering-implementaton-attempt-2
>>
>> Vänlig hälsning / Yours sincerely,
>>   Daniel Holm
>>   IT Consultant
>>   Web Developer
>>   Student
>>   d.holmen@xxxxxxxxx
>>   http://www.danielholm.se
>>
>> Den tis 24 sep 2013 16:27:44 skrev Gustavo Niemeyer:
>> > Hi again,
>> >
>> > Not sure if this is the right forum for this sort of question, so here
>> > it goes for now:
>> >
>> > Drag & drop under QML doesn't seem to work on the phone with the same
>> > logic it does on the desktop. For instance, this example taken from
>> > [1] works fine on qmlscene on the desktop, but fails on the phone:
>> >
>> >     http://paste.ubuntu.com/6150309/
>> >
>> > Any hints/docs about how to make QML drag & drop work under both
>> > Ubuntu Touch and Ubuntu Desktop?
>> >
>> > Thanks,
>> >
>> > [1] http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-drag.html
>> >
>> >
>> > gustavo @ http://niemeyer.net
>> >
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>
>



-- 
gustavo @ http://niemeyer.net


Follow ups

References