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

Shift-Tab does not cycle focus backwards through web elements

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.10.0, 5.11.1
    • Fix Version/s: 5.12.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      macOS 10.13
      Issue has been observed in Qt 5.10 and 5.9 on OSX 10.13. Originally identified downstream in qutebrowser, it is also reproducible in the "quicknanobrowser" example project.
    • Platform/s:
      macOS

      Description

      Pressing tab in a WebEngine view will advance focus according to tab order, however holding shift and pressing tab does not cycle focus backwards which is standard behavior.

      I'm not sure if it's related but the `code` and `key` values of browser keydown events is inconsistent between QtWebEngine and Chrome. See attached screenshots, in both I loaded the page, pressed tab, then shift-tab. The page logs a subset of the keydown event's properties. For some reason in QtWebEngine we get "KeyS" for code any time tab is pressed and "\u0019" for key when shift-tab is pressed.

        Attachments

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

          Activity

            People

            • Assignee:
              qt_webengine_team Qt WebEngine Team
              Reporter:
              lanny Lan Rogers
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes