In gdk_wayland_seat_get_slaves, here is the entry for the tablet:
$6 = {wp_tablet = 0x55555561ab50, name = 0x55555561c480 "HID 256c:006e Pen",
path = 0x555555639560 "/dev/input/event21", vid = 9580, pid = 110,
master = 0x555555639270, stylus_device = 0x555555635590, eraser_device =
0x555555640530, current_device = 0x0, seat = 0x55555562a250,
pointer_info = {focus = 0x0, surface_x = 0, surface_y = 0, button_modifiers =
0, time = 0, enter_serial = 0, press_serial = 0,
grab_window = 0x0, grab_time = 0, pointer_surface = 0x555555624900, cursor
= 0x0, cursor_timeout_id = 0, cursor_image_index = 0,
cursor_image_delay = 0, current_output_scale = 1, pointer_surface_outputs =
0x0, frame = {event = 0x0, delta_x = 0, delta_y = 0,
discrete_x = 0, discrete_y = 0, is_scroll_stop = 0 '\000', source =
WL_POINTER_AXIS_SOURCE_WHEEL}}, pads = 0x0, current_tool = 0x0,
axis_indices = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, axes = 0x0}
But there is also an entry for its pad:
$7 = {seat = 0x55555562a250, wp_tablet_pad = 0x5555556383a0, device = 0x0,
current_tablet = 0x0, enter_serial = 0, n_buttons = 12,
path = 0x5555556258f0 "/dev/input/event22", rings = 0x0, strips = 0x0,
mode_groups = 0x555555628520 = {0x555555642f20}}
Notice that the device in NULL, but it gets inserted into the list
anyway.
So, it could be:
- a bug in wayland, if the API is not supposed to return a PAD without a device
- a bug in gdk, if it is supposed to ignore a NULL device in the tablet_pads
list, but is not supposed to return a NULL in get_slave's GList
- a bug in inkscape, if it is supposed to check for NULL entries in the
seat_get_slave's list.
The easiest fix is probably to add a check for NULL in inkscape, in
createFakeList, as it's a one-liner that can't have negative
consequences, and then bubble the bug up to gdk?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2079921
Title:
inkscape crashes when started
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/2079921/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs