kazam no longer able to select the primary screen and records black screen

Bug #2003193 reported by Mingun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kazam (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrading from Ubuntu 20.04.5 to Ubuntu 22.04.1 kazam encountered 3 issues:
1. it is not possible to select region for recording on primary screen. When I click button to choose screen area, only my second monitor is available to choose area from. I not able to extend selection to my primary monitor. The selection on the secondary monitor is working, but it is black (see point 2)
2. screen recording now contains only black (but mouse cursor is visible)
3. when I try to select window, after clicking window (the kazam GUI itself) there are exception in the console and select overlay didn't disappeared

Console output (screen.force_update() when I tried to click window to select)
```
$ kazam
WARNING Kazam - Failed to correctly detect operating system.

** (kazam:11794): WARNING **: 16:38:26.512: Binding '<Super><Ctrl>R' failed!

** (kazam:11794): WARNING **: 16:38:26.512: Binding '<Super><Ctrl>F' failed!

** (kazam:11794): WARNING **: 16:38:26.512: Binding '<Super><Ctrl>P' failed!

** (kazam:11794): WARNING **: 16:38:26.512: Binding '<Super><Ctrl>W' failed!

** (kazam:11794): WARNING **: 16:38:26.512: Binding '<Super><Ctrl>Q' failed!
/usr/lib/python3/dist-packages/kazam/app.py:145: Warning: value "((GtkIconSize) 32)" of type 'GtkIconSize' is invalid or out of range for property 'icon-size' of type 'GtkIconSize'
  self.builder.add_from_file(os.path.join(prefs.datadir, "ui", "kazam.ui"))

(kazam:11794): Gtk-WARNING **: 16:38:26.562: Can't set a parent on widget which has a parent

(kazam:11794): Gtk-WARNING **: 16:38:26.571: Can't set a parent on widget which has a parent

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

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

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

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

```

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: kazam 1.4.5-5
ProcVersionSignature: Ubuntu 5.15.0-59.65-generic 5.15.78
Uname: Linux 5.15.0-59-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 18 16:42:29 2023
InstallationDate: Installed on 2020-11-24 (785 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: kazam
UpgradeStatus: Upgraded to jammy on 2023-01-18 (0 days ago)

Revision history for this message
Mingun (alexander-sergey) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.