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

keyReleaseEvent not triggered on windows devices with touch display

    XMLWordPrintable

Details

    • WebAssembly
    • eda0ccb36 (dev), 8bc45bcfc (6.5), 4fb8aebf8 (6.6)

    Description

      I have a simple QOpenGLWindow with nothing else but some keyboard, mouse and touch event handlers, which is compiled to webassembly (project attached). on systems without touch screen everything is fine. on windows systems with touch screen, no keyReleaseEvents are ever made. I have no linux or mac systems with touchscreen to test there.

      investigation:
      I believe, that there are two input paths to support  native virtual keyboards. I don't understand the whole thing, but `plugins/platforms/wasm/qwasminputcontext.cpp` seems to create a hidden input field in html. that input field is present whenever keyReleaseEvents don't work.

       

      I understand that this is not a problem for text input fields, but it is a problem whenever you want to use the keyboard for interaction (e.g., in our app, Ctrl, Shift and Alt change the method of interaction in 3D space).

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            adamce Adam
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes