[Python-apps-team] Bug#974144: Fails under wayland and fails trying to select a window

Daniel Leidert dleidert at debian.org
Tue Nov 10 15:52:36 GMT 2020


Package: kazam
Version: 1.4.5-4
Severity: grave

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I tried kazam. First the errors shown on the command line clearly indicate that
it is not supposed to work with wayland:

(kazam:89108): Wnck-WARNING **: 16:47:15.482: 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'

This can be fixed by calling the program with the X11 backend set:

$ GDK_BACKEND=x11 kazam

(JFTR: If either libwnck or kazam is designed to work with x11 only it should
call gdk_set_allowed_backends() at some point).

But even after setting the backend it is impossible to choose a window:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kazam/frontend/window_select.py", line 116, in cb_button_press_event
    if win.is_visible_on_workspace(workspace) and win.is_in_viewport(workspace):
TypeError: Argument 1 does not allow None as a value

The program actually looks pretty dysfunctional for me at this point. I don't
think this should be shipped with the next stable.

Regards, Daniel


- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kazam depends on:
ii  gir1.2-gst-plugins-base-1.0  1.18.1-1
ii  gir1.2-gstreamer-1.0         1.18.1-1
ii  gir1.2-keybinder-3.0         0.3.2-1+b1
ii  gir1.2-wnck-3.0              3.36.0-1
ii  gnome-session-canberra       0.30-7
ii  gstreamer1.0-plugins-base    1.18.1-1
ii  gstreamer1.0-plugins-good    1.18.1-1
ii  gstreamer1.0-plugins-ugly    1.18.1-1
ii  gstreamer1.0-pulseaudio      1.18.1-1
ii  python3                      3.8.6-1
ii  python3-cairo                1.16.2-4+b1
ii  python3-dbus                 1.2.16-4
ii  python3-gi                   3.38.0-1+b1
ii  python3-gi-cairo             3.38.0-1+b1
ii  python3-xdg                  0.26-3

Versions of packages kazam recommends:
ii  gstreamer1.0-libav  1.18.1-1

kazam suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAl+qt0QACgkQS80FZ8KW
0F1lvQ//ZjHU323yYl2h77L0u5vD/9tpkDxF0nutm892nRHPEEkiJ3coiXDWCTHg
h2jY+lI7a6MwdcQRwYjF9kub2HAVAy4nJAjjOIjhsr8+R1OCSgsrwFhD3g7LBWrT
ermP3XuEUuzteY3L5Y3MYgZsyL+a8o+zsMteDeNX0WiFT5UPNvEwnk7Dbwji8FtU
UyVVdy+H0MdO8+DGC/WgAqbQOX9YMDakDSp45obgwDbjHzp0vIPHzi+wWNoJP/VF
0xxFWpt3Mru8yXLZVpqVK541Bm+HYaWW9qOC78ndV/5tK+OC7S/B3ElSaaL2zmaU
kwS9x+vGxpqCS38jr2ymGepurkJ3JoFyhSQn7yjnpqeDjbYcWjX/dDQtJes2LVHy
gPHabH5G12FPOcp/vIr8HGKdTbYrZCjGjnFxbqNQR0gHkty1gf0tmY60bx//F33I
AkXqMmFAJST3u9c4SMKDVTDxLsGT/PrIeCGoJF61BXbiwF6ic/AaVKRJtZV+wvLw
/HVIkNXRV4Q5+R6ALcESLxO4v98WlQFhXMlzPz6gBQMYmWWDe+7LhiETEjKAW7/X
VhgQFK7RJ34bMP2zgILD1QOCbyILryYImtt9URjdVz1KQJfi71IN9WkZsex+fxBW
0U7IeyL1dJOgkTnZ6sCkugg/ZWK5SxFcPm/YDpgE8Id/EwNYvD4=
=X7HN
-----END PGP SIGNATURE-----



More information about the Python-apps-team mailing list