[Wayland-bugs] [Bug 73711] Invalid user data pointer passed to "pointer_handle_enter"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 28 07:38:47 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73711

--- Comment #5 from Gabriel Jacobo <gabomdq at gmail.com> ---
The log looks like this:

[2021284.639] wl_pointer at 9.enter(1907, wl_surface at 11, 5.000000, 0.000000)
INFO: wl_surface_get_user_data 0x2257760, 00000000
[2021284.668] wl_pointer at 9.motion(3648448518, 5.000000, 0.000000)
[2021284.685] wl_pointer at 9.motion(3648448518, 5.000000, 0.000000)
[2021284.700] wl_display at 1.delete_id(14)
[2021300.164] wl_callback at 23.done(3648448528)
[2021300.200]  -> wl_surface at 20.frame(new id wl_callback at 14)
[2021300.216]  -> wl_surface at 20.attach(wl_buffer at 22, 0, 0)
[2021300.234]  -> wl_surface at 20.damage(0, 0, 640, 480)
[2021300.252]  -> wl_surface at 20.commit()
[2021300.273] wl_pointer at 9.leave(1911, wl_surface at 11)
[2021300.287] wl_pointer at 9.enter(1912, wl_surface at 20, 635.000000, 354.000000)
INFO: wl_surface_get_user_data 0x22c1430, 0x22e37b0
[2021300.321]  -> wl_pointer at 9.set_cursor(0, wl_surface at 11, 5, 0)
[2021300.341] wl_shell_surface at 18.ping(1913)
[2021300.350]  -> wl_shell_surface at 18.pong(1913)
[2021300.359] wl_pointer at 9.motion(3648448534, 634.000000, 353.000000)
[2021300.379] wl_pointer at 9.motion(3648448534, 632.000000, 353.000000)


wl_surface_get_user_data is a log I added, it logs the wl_surface* and the user
data.

As you can see we get two "enter" events (apparently followed correctly by the
corresponding leave), yet only one of those is for the window surface. The
other is the mouse cursor surface.

So, if there's a bug in here it's probably that the cursor surface is getting a
pointer enter event, right?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140128/da786d86/attachment.html>


More information about the Wayland-bugs mailing list