[Webkit-unassigned] [Bug 168197] [GTK] Gtk windows should not appear on desktop when running API tests in Wayland

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 12 15:56:33 PST 2017


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

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #1)
> (In reply to comment #0)
> > When running /webkit2/WebKitPrintOperation/custom-widget, a GtkWindow
> > appears on my screen and I get to watch as the print dialog is opened and
> > closed. This happens when running several other API tests too. It shouldn't.
> > 
> > This is probably a Wayland-specific problem as I don't think I've ever seen
> > this when using X.
> 
> Are you passing --display-server=wayland to Tools/Scripts/run-gtk-tests ?
> Then that is the expected behaviour (you see the window)

No, I'm just running the tests manually (because run-gtk-tests doesn't support running individual tests and expects to use a build directory created by build-webkit, which I avoid except when required to run layout tests as that's incompatible with use by Epiphany), which works fine under X11. If we can make this work in X11 without the script, it should be possible to do it in Wayland too, right?

> To avoid that, you should pass --display-server=weston to the run-gtk-tests
> script. That would execute the test inside a virtualized Weston server (on
> top of xvfb)

I would also expect the script to work properly by default, without passing any additional arguments. But I think it's fine if that uses xvfb without weston, which to my understanding is the current behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170212/dcc4c194/attachment.html>


More information about the webkit-unassigned mailing list