[Webkit-unassigned] [Bug 183143] [GTK] testRunner.setWindowIsKey() has no effect on the web process side in WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 27 15:43:37 PST 2018


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

--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Thanks for reporting a bug so that we know about the problem.

Implementing setWindowIsKey to focus the window should be easy; we just need to call gtk_window_present(). *This function is broken on Wayland* so developers and test expectations will need to take this into account.

Claudio pointed out one problem: there is no inverse function. To un-focus the window, we'll need to create a second window and give that window focus. We might have to keep it around forever, too, to prevent the original window from regaining focus. That's quite non-ideal, but I don't see a better way.

-- 
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/20180227/a1b51b95/attachment.html>


More information about the webkit-unassigned mailing list