[Webkit-unassigned] [Bug 279420] New: [Mac Catalyst] Composition Events Not Triggered in WKWebview

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 9 23:41:21 PDT 2024


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

            Bug ID: 279420
           Summary: [Mac Catalyst] Composition Events Not Triggered in
                    WKWebview
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yut304 at yahoo.com
                CC: wenson_hsieh at apple.com

Created attachment 472513

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

Compare between Mac Catalyst App and Mac App

- When using Japanese Romaji Keyboard typing "ar", will get popup to choose words and type ( Hiragana, Katagana and Kanji )
- Normally can use space or arrow up down to choose but on Mac catalyst cannot.

Steps to Reproduce:
- Add Japanese Romaji Keyboard by Go to Settings -> Keyboard -> Edit ( Input Sources ) then Click "+" to add keyboard and search for "Japanese - Romaji"
- Open Xcode and Create new iOS project ( new project will come with "Designed for iPad" this have the same behavior )
- Put this code into "ViewController.swift"
import UIKit
import WebKit
class ViewController: UIViewController {
    var webview: WKWebView!
    override func viewDidLoad() {
        super.viewDidLoad()
        webview = WKWebView(frame: self.view.bounds)
        let request = URLRequest(url: URL(string: "https://w3c.github.io/uievents/tools/key-event-viewer.html")!)
        self.webview.load(request)
        self.view = webview
    }
}
- Change Run device with "My Mac (Mac Catalyst)"
- Type "ar" then try to use space or arrow up down.

Expected Result:
- When hitting space key or arrow up/down key, the highlight should scroll down or up and then can hit Enter to choose selected word.

Actual Result:
- Nothing happen when hit space key or arrow up/down

Test on Xcode 15.4

-- 
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/20240910/cf109883/attachment.htm>


More information about the webkit-unassigned mailing list