lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

Cursor position wrong when doing gestures #186

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Cursor position in my touchscreen is right when I tap with one finger, but 
enabling two finger gesture cursor is moved to down and right, so I can't do 
gesture in center window for example, becuase gesture goes to wrong window.

For example, with two finger tap to do right clicking, if I tap with two 
fingers in center window I don't get context menu for that window, I have to 
tap near top left corner and then I get context menu in center window.

Ask me whatever you need to debug it

Original issue reported on code.google.com by sergio.c...@gmail.com on 7 Jan 2013 at 11:58

Attachments:

GoogleCodeExporter commented 8 years ago
I'm sorry but I haven't got a touchscreen to test that. If you know something 
about programing you can try to debug the code.

Original comment by jose.exposito89@gmail.com on 9 Jan 2013 at 10:36

GoogleCodeExporter commented 8 years ago
I can try it if you can give me some hints to debug this 

Original comment by scam...@servpac.com on 9 Jan 2013 at 10:44

GoogleCodeExporter commented 8 years ago
You can try to set a break point in the execution of the action:
http://code.google.com/p/touchegg/source/browse/touchegg/src/touchegg/actions/im
plementation/MouseClick.cpp

And check the position of the cursor returned by uTouch. Check this code to 
know how to get uTouch properties:
http://code.google.com/p/touchegg/source/browse/touchegg/src/touchegg/actions/im
plementation/DragAndDrop.cpp

Greetings and thanks for your time!

PS - I recommend you to use the Qt Creator IDE, is very easy to debug with it

Original comment by jose.exposito89@gmail.com on 9 Jan 2013 at 11:34

GoogleCodeExporter commented 8 years ago
Ok, thanks. Probably I won't be able to debug this in some days
I will post the result

Original comment by sergio.c...@gmail.com on 9 Jan 2013 at 11:36