[Webkit-unassigned] [Bug 239360] New: IME/InputMethod language popups are not positioned correctly when typing in a WKWebView in a mac catalyst app

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 14 16:46:27 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239360

            Bug ID: 239360
           Summary: IME/InputMethod language popups are not positioned
                    correctly when typing in a WKWebView in a mac catalyst
                    app
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andrews at infragistics.com

Created attachment 457656

  --> https://bugs.webkit.org/attachment.cgi?id=457656&action=review

XCode project for basic mac catalyst app that demonstrates the issue

There are several scenarios under which this occurs but essentially the suggestions & live conversion popups displayed for a composition sometimes get repositioned to the upper left of the app or screen or somewhere else far from the WKWebview.

Scenario 1:
* Run the app
* Click into the Content Editable box
* Change the Input Source/Keyboard to “Hiragana - Kana”
* Type a bunch of letters. e.g. 14 q’s

RESULTS:
When the popup is shown it’s typically below the text entered as it should be. But after long input the popup shows up on the right edge of the app

Scenario 2:
* Run the app
* Click into the Content Editable box
* Change the Input Source/Keyboard to “Hiragana - Kana”
* Type ‘qqqq’
* Press space to see the suggestions popup
* Wait a second and a popup that points to the selected suggestion item is displayed
* Tap that popup

RESULTS:
The popup shifts to the upper left corner (and it’s not just above that box as the same thing happens if you use the Input box instead). Further if you press the right arrow the popup shifts to the lower left of the screen.

Scenario 3:
* Run the app
* Click into the Input box
* Change the Input Source/Keyboard to “Hiragana - Kana”
* Type ‘a’
* Press space
* Press space (popup shown in correct place)
* Type ‘a’
* Press space
* Press space

RESULTS:
Popup shown in the upper left corner of the app

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220414/038fdad7/attachment-0001.htm>


More information about the webkit-unassigned mailing list