← Back to team overview

ubuntu-phone team mailing list archive

Re: help with touchscreen configuration - gestures are not working

 

On Wed, Oct 7, 2015 at 1:36 PM, Pavel Andrejs <pavel.andrejs@xxxxxxxxx>
wrote:

> Hi,
> first of all, please, let me know, if I am on a wrong mailing list.
> This page
> https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/
> lead me here.
>
> To the problem - I noticed this error message
>
> DirectionalDragArea: recognition properties are wrongly set. Gesture
> recognition is impossible
>
> in unity8 log. I did some debugging a found that in
> unity8/plugins/Ubuntu/Gestures/DirectionalDragArea.cpp there is a
> method  DirectionalDragArea::itemChange which calls
> value.window->screen()->physicalDotsPerInch(). The last one returns a
> bad value. This leads to an inf value pixelsPerMm later and disables
> the gesture recognition. For now I solved this with a little hack - I
> hardcoded pixelsPerMm to 306 / 25.4. With this the gesture recognition
> works. I suppose I would eventually find the correct place for this
> value, but some of you may have it faster :-)
>
>
Hi Pavel,

thanks for taking the time to report this :)

I'd suggest filing a bug against unity8 package and have the developer who
worked on that component have a deeper look at the issue :)
https://bugs.launchpad.net/ubuntu/+source/unity8/+filebug

Cheers,
Andrea


> Thank you for any hints.
>
> Pavel
>
> 2015-10-02 18:39 GMT+02:00 Pavel Andrejs <pavel.andrejs@xxxxxxxxx>:
> > Hi,
> > I am trying to run Ubuntu touch on my Galaxy S3 LTE(i9305). I managed
> > to start the graphical user interface, but I`d appreciate some with
> > the touchscreen configuration. The problem is that only tapping works,
> > no gestures. So I successfully finished the invitation dialog (select
> > country, pin, etc.) but since that I am stuck on the lock screen with
> > clock. The test_input reports lots of events if I move my finger on
> > the display (even multitouch seems to work). So I guess this might be
> > some configuration problem, but I have no idea where to look, how to
> > debug this. Could you, please, give mi some hints?
> >
> > Thank you
> >
> > Pavel
> >
> > P.S. I apologize if I am on a wrong list.
>
> --
> 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
>

References