Control: severity -1 important
Control: retitle -1 kazam does not work under Wayland

Hi everyone,

I did some digging on this issue in a VM running buster/testing + GNOME,
only to find that Kazam does not work at all on Wayland.

The keybinding errors are caused by Keybinder not supporting
Wayland[1][2], but I've also found several other problems. Some of these
can be worked around by running kazam with GDK_BACKEND=x11 set, but
others are not.

- Screenshots fail under Wayland unless GDK_BACKEND=x11 is set:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kazam/app.py", line 567, in
cb_counter_finished
    self.grabber.grab()
  File "/usr/lib/python3/dist-packages/kazam/backend/grabber.py", line
146, in grab
    c_picbuf.composite(self.pixbuf, 0, 0, w - 1, h - 1,
AttributeError: 'NoneType' object has no attribute 'composite'

- Choosing to record a window under Wayland fails because libwnck only
supports X11 (worked around with GDK_BACKEND=x11):

(kazam:3789): Wnck-WARNING **: 13:08:48.693: libwnck is designed to work
in X11 only, no valid display found
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kazam/frontend/window_select.py",
line 111, in cb_button_press_event
    screen.force_update()
AttributeError: 'NoneType' object has no attribute 'force_update'

- Screen recording under Wayland shows a black screen with only the
cursor, even when GDK_BACKEND=x11 is set

In this case, no explicit errors are shown.

----

All of these issues are Wayland specific and do not affect GNOME on Xorg
or other X11-based desktops. I'm therefore lowering the severity.

Best,
James

[1]: https://github.com/kupferlauncher/keybinder/issues/11
[2]: https://github.com/Guake/guake/issues/1109

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to