← Back to team overview

ubuntu-phone team mailing list archive

Re: help with touchscreen configuration - gestures are not working

 

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 :-)

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.


Follow ups