Problem with Webkit or Surface Pro?
-
Hello,
I'm encountering a very troubling issue: I've developed a C# winform program to integrate webpages and javascripts using webkit. This program is running well on my Microsoft Surface Pro3 device if only keyboard and mouse are used. But if I use my hand to handle the page, it would become a mess, since I can even drag/drop objects from the webpage using my fingers.
Could anyone tell me know how to fix this problem?
Thanks a lot.
Regards,
Johnson -
@Johnson-Yang
is this question related to Qt?Beside that most systems forward touch events also as mouse events.
-
I do not know whether it is related to QT or not, but I know that touch events are not the same as mouse events (I've made test today to track and alert the x,y position of the mouse via javascript. Every time the mouse is clicked, its position can be monitered accurately and timely, but for touch events (such as drag/drop events), sometimes it could be monitered, sometimes not. So it's very tricky thing. I'm wondering whether I need to add some event handling scripts in the webkit to handle the touch events.
-
One more thing to add: if I do not use Webkit to wrap those webpages, I have no problem at all. I can open or handle those webpages normally in both ways. So it seems the problem lies in the webkit itself.
-
@Johnson-Yang Are you using Qt from C#, or WebKit .NET?
-
@Konstantin-Tokarev I'm using QT from C#.