Details
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
For Gerrit Dashboard: QTBUG-92971 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
346478,2 | Enable XkbKeyboardLayoutEngine::SetCurrentLayoutByName for Qt | 87-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
346479,8 | Add support for Keyboard.getLayoutMap() | 5.15 | qt/qtwebengine | Status: MERGED | +2 | 0 |
347708,2 | Enable XkbKeyboardLayoutEngine::SetCurrentLayoutByName for Qt | 88-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
405130,2 | Fix fatal error in getCurrentKeyboardLayout() | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
406080,2 | Fix fatal error in getCurrentKeyboardLayout() | 6.2 | qt/qtwebengine | Status: MERGED | +2 | 0 |
406081,2 | Fix fatal error in getCurrentKeyboardLayout() | 6.3 | qt/qtwebengine | Status: MERGED | +2 | 0 |