Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Keyboard modifier keys typed as is
Qt 6.11 is out! See what's new in the release blog

Keyboard modifier keys typed as is

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 702 Views 1 Watching
  • 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.
  • GardinalG Offline
    GardinalG Offline
    Gardinal
    wrote on last edited by
    #1

    When typing text, the modifier keys are typed as text instead of being applied. For example, if I type "Shift+h" to type a capital H, I will get "ShiftH" instead of "H":
    0e98fd0a-2868-4635-91c6-15983134a497-image.png
    I get the same for most modifier keys:
    9e24e877-1fe5-40d0-b58e-58688090192b-image.png

    It happens only on my Windows dev machine, in every browser, not on other machines.
    I'm using Qt 6.5.2.

    Here is my qml file:

    import QtQuick
    import QtQuick.Window
    import QtQuick.Controls
    
    Window {
        width: 640
        height: 480
        visible: true
        title: qsTr("Hello World")    
    
        TextField {
            width: parent.width / 2
            placeholderText: "Type something..."
        }
    }
    
    
    1 Reply Last reply
    1
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      I have started a bug report
      https://bugreports.qt.io/browse/QTBUG-116231

      You can follow or comment there.

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      3

      • Login

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