Discussion:
Unexpected wl_surface.enter received for output with
(too old to reply)
Johan Helsing
2018-12-06 08:20:35 UTC
Permalink
Hi Eric,

You're right that surface_leave is the counterpart. The warning is there to tell you it didn't get called, which usually indicates a compositor bug. It warns when the compositor sends two events about a surface enterering the same screen without sending a leave event after the first one.

We just ignore the second event, so probably nothing bad will happen, but we print that warning in the hope that it will lead to compositor bugs being fixed.

I wrote a patch to clarify the meaning a bit: https://codereview.qt-project.org/#/c/247560

Which compositor are you running?

Br,
Johan
________________________________
From: Interest <interest-***@lists.qt-project.org> on behalf of Ruei, Eric via Interest <***@lists.qt-project.org>
Sent: Monday, December 3, 2018 10:49:18 PM
To: ***@qt-project.org
Subject: [Interest] Unexpected wl_surface.enter received for output with id: 10 screen name: "DELL P2417H" screen model: from QT5.9

To whom it may concern:

We have seen the following error when one window is closed and then re-opened with wayland-egl since QT5.9.
However, everything seems to work well except the warnings.

Unexpected wl_surface.enter received for output with id: 10 screen name: "DELL P2417H" screen model: ""


Do we need to worry about this warning from void QWaylandWindow::surface_enter(wl_output *output)?
I added a trace at QWaylandWindow::surface_leave(wl_output *output), but it I s never hit.
Which function is the counterpart of surface_enter?

Best regards,

Eric

Continue reading on narkive:
Loading...