[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
Mon Feb 13 03:39:02 PST 2017


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

--- Comment #5 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to comment #2)
> (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),

I think you are doing it wrong. The tests are not meant to be executed directly.

If there is some use case that prevents you to use the run-gtk-tests script, then we should improve the script rather than trying to find a way around it.

> 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?
> 

No, with X11 happens the same if you run the test manually.. you see windows appearing on the screen.

> > 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.

The script defaults to use xvfb. So you should not see any window appearing in your screen if you use the script.

-- 
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/20170213/922895d4/attachment.html>


More information about the webkit-unassigned mailing list