screenkey crashed with AttributeError in on_btn_sel_geom(): 'GdkWaylandWindow' object has no attribute 'get_xid'

Bug #1983278 reported by corrado venturini
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
screenkey (Ubuntu)
New
Medium
Unassigned

Bug Description

screenkey does not work in Wayland session

ProblemType: Crash
DistroRelease: Ubuntu 22.10
Package: screenkey 1:1.5-2
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.22.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 1 18:31:37 2022
ExecutablePath: /usr/bin/screenkey
InstallationDate: Installed on 2022-07-19 (13 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220718)
InterpreterPath: /usr/bin/python3.10
JournalErrors: -- No entries --
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/screenkey
Python3Details: /usr/bin/python3.10, Python 3.10.5, python3-minimal, 3.10.4-0ubuntu2
PythonArgs: ['/usr/bin/screenkey']
PythonDetails: N/A
SourcePackage: screenkey
Title: screenkey crashed with AttributeError in on_btn_sel_geom(): 'GdkWaylandWindow' object has no attribute 'get_xid'
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/Screenkey/screenkey.py", line 653, in on_btn_sel_geom
     self.options.window == self.get_screen().get_root_window().get_xid():
 AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo whoopsie

Revision history for this message
corrado venturini (corradoventu) wrote :
information type: Private → Public
Revision history for this message
corrado venturini (corradoventu) wrote :

orrado@corrado-n4-kk-0718:~$ screenkey
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Screenkey/screenkey.py", line 653, in on_btn_sel_geom
    self.options.window == self.get_screen().get_root_window().get_xid():
AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'. Did you mean: 'get_width'?

tags: removed: need-duplicate-check
Changed in screenkey (Ubuntu):
importance: Undecided → Medium
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.