[webkit-gtk] WebKitWebView Process has Dock and task-switcher icons

Adrian Perez de Castro aperez at igalia.com
Wed Oct 28 15:17:16 PDT 2020


On Tue, 27 Oct 2020 16:45:50 -0700 jralls at ceridwen.fremont.ca.us wrote:

> In WebKitGtk 2.28.2 when built with GdkQuartz on macOS, the
> WebKitWebProcesses, one for each GtkWebKitWebView, produce tiles in the dock
> and the process-switcher (the bar of icons that comes up when you press
> command-tab) and a menubar. Worse, that's the process that gets focus when
> you start an application or create a new tab.
> This is reproducible with the MiniBrowser. It's been observed with both
> MacPorts and Gtk-OSX builds and there's even an unanswered Stack Overflow
> question:
> https://stackoverflow.com/questions/62918922/webkitwebprocess-makes-new-dock-icons.
> Any ideas on how to suppress this odd behavior?

Not long ago I helped one of the persons working on the Nyxt browser [1] who
had some idea about how to solve this. It involved adding calls to a Cocoa
function that would prevent the additional entries in the dock and task
switcher for the WebKitWebProcess instances launched for each tab.

If you clone their MacPorts repository [2] with Git, there seems to be some
patches for that. I don't know if there is some better way of achieving the
same, but it would be nice if we could have a patch for this in the upstream
repository—it would be great to have a maintainer taking care of keeping
WebKitGTK working on MacOS, and I am sure that some of us would be glad to
provide guidance and help out if someone would step up :-)

I hope this helps,

[1] https://nyxt.atlas.engineer/
[2] https://source.atlas.engineer/view/repository/macports-port
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20201029/d3eedeff/attachment.bin>

More information about the webkit-gtk mailing list