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

Handling of enter key on webgl platform does not match Windows platform

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.10.0
    • Fix Version/s: 5.10.1
    • Component/s: QPA: WebGL
    • Labels:
      None

      Description

      The following example demonstrates the issue:

      import QtQuick 2.0
      
      Rectangle {
          width: 400
          height: 400
          color: "black"
      
          focus: true
          Keys.onReturnPressed: console.log("return pressed")
          Keys.onEnterPressed: console.log("enter pressed")
      }

      Running directly in Windows, using the main enter key of a keyboard outputs "return pressed", and using the numpad enter key outputs "enter pressed". Running in webgl both output "enter pressed".

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mbrasser Michael Brasser
            Reporter:
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes