Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64265

MouseLeave JavaScript event not triggered when leaving QWebEngineView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.1, 5.9.2, 5.10
    • Fix Version/s: 5.10.0 RC, 5.9.4
    • Component/s: WebEngine
    • Labels:
      None
    • Commits:
      4de8486b6614896a2b84cc64b69606c7b3bd07e8

      Description

      The MouseLeave event will not trigger for a web page tag if you move the mouse from inside QWebEngineView to any other part of the interface or the outside of the MainWindow itself.

      Only the initial MouseEnter Javascript event will be triggered and due to the issue detailed above every subsequent event for that tag will not occur.

      You can replicate this issue in the disclosed example by moving the mouse inside the QWebEngineView and moving it to the right. The hover effect will still be in place and the JavaScript code for "onmouseleave" will not be triggered.

      This can also be replicated with any of the Qt examples containing QWebEngineView.

       

      Issue confirmed for Qt 5.9.1 on both Windows and OSX.

        Attachments

        For Gerrit Dashboard: QTBUG-64265
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              pvarga Peter Varga
              Reporter:
              sanjin Sanjin Lisic
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes