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

Support Keyboard.getLayoutMap()

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15, 6.2
    • Fix Version/s: 5.15.5
    • Component/s: WebEngine
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      33e08cdfdfcb6ed759d5ba529db7e7b31484ee16 (qt/qtwebengine/5.15)

      Description

      JavaScript API: https://developer.mozilla.org/en-US/docs/Web/API/Keyboard/getLayoutMap

      Experimental API but google already uses it. Google login asserts on Windows only (NOTIMPLEMENTED_LOG_ONCE):

      [14568:7064:0420/124201.032:ERROR:render_widget_host_view_base.cc(347)] Not implemented reached in class base::flat_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<void> > __cdecl content::RenderWidgetHostViewBase::GetKeyboardLayoutMap(void)
      

      The assert should be ignored in QtWebEngine as a workaround.

        Attachments

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

          Activity

            People

            Assignee:
            pvarga Peter Varga
            Reporter:
            pvarga Peter Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes