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

[REG 5.8.0 > 5.9.0] QWebEngineView doesn't forward unhandled keyPress events to parentWidget

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9.2
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:

      Arch Linux x86_64

      I am using qtwebengine version from package manager:

      Name : qt5-webengine
      Version : 5.9.0-1

    • Commits:
      19e5c2057b9f127726018d3e39a62066317a983f

      Description

      On qtwebengine 5.8 the keyEvents not consumed by the page were forwarded to parentWidget, eg, plain characters "hjkl", modifiers, etc. On 5.9 only keyEvents for modifiers seems to be forwarded. Plain characters are not. I attached a small code that prints keyEvents on 5.8 but doesn't print anything on 5.9.

        Attachments

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

          Activity

            People

            • Assignee:
              jbornema Joerg Bornemann
              Reporter:
              joseriosneto José Rios
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes