Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Problem with Webkit or Surface Pro?
QtWS25 Last Chance

Problem with Webkit or Surface Pro?

Scheduled Pinned Locked Moved Unsolved Qt WebKit
6 Posts 3 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Johnson Yang
    wrote on last edited by
    #1

    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

    raven-worxR K 2 Replies Last reply
    0
    • J Johnson Yang

      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

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Johnson-Yang
      is this question related to Qt?

      Beside that most systems forward touch events also as mouse events.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Johnson Yang
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Johnson Yang
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • J Johnson Yang

            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

            K Offline
            K Offline
            Konstantin Tokarev
            wrote on last edited by
            #5

            @Johnson-Yang Are you using Qt from C#, or WebKit .NET?

            J 1 Reply Last reply
            0
            • K Konstantin Tokarev

              @Johnson-Yang Are you using Qt from C#, or WebKit .NET?

              J Offline
              J Offline
              Johnson Yang
              wrote on last edited by
              #6

              @Konstantin-Tokarev I'm using QT from C#.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved