Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Shift Key - Must Press Twice
Forum Updated to NodeBB v4.3 + New Features

Qt Shift Key - Must Press Twice

Scheduled Pinned Locked Moved Unsolved General and Desktop
shift-problemskey-problemsweb-view-sub
3 Posts 2 Posters 166 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.
  • J Offline
    J Offline
    JackMyson
    wrote on last edited by
    #1

    Hi everybody,

    I've been playing with a browser recently. Now when everything is perfect (apparently), there are some mistakes that I have just discovered.

    For example, there's a major issue: when I key the shift key with its corresponding key, I must press at least 2 times and it displays the result then, only then.

    For instance when I want to key in the "#" symbol, I must press shift - 3 - 3, or else nothing will be inserted. As well as %, I must enter shift - 5 - 5.

    Magically, if I don't release the shift key, it enters the corresponding characters one by one each time I have entered them, as if nothing had happened.

    The project structure (actually a lot of the code are borrowed from the Qt Network's "Google Search Suggestion Example" and the Qt Web Engine Widget's "Simple Browser Example"): a tab widget, a main window, a QWebEngineView, a QWebEnginePage, an address bar, all subclassed.

    If you need some more details or code, please continue the thread below.

    Will be greatly appreciated!!

    Postscript: Any other stuff, neither major nor minor (e.g. QWebEngineProfile, QWebEnginePage::WebAction, etc.), are not affected and worked 100% properly as expected. If they didn't, I would post a new thread below.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Which Qt version? I've had some issues with keyboard in 6.4.3 I think, but they have got fixed in 6.5 IIRC.

      (Z(:^

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JackMyson
        wrote on last edited by
        #3

        Qt 6.7.2 (Newest I think) on macOS 13.6.2 (newest for Ventura), Intel core.

        1 Reply Last reply
        0

        • Login

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